public class BasicFileExtractorOperation extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
absoluteTargetPath |
protected String |
resourcePath |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
checkInput() |
protected File |
checkOutput() |
protected void |
copyAndClose(InputStream in,
OutputStream out) |
void |
extract() |
protected OutputStream |
openOutput(File targetFile) |
protected final String resourcePath
protected final String absoluteTargetPath
public void extract() throws IOException
IOException
protected InputStream checkInput() throws IOException
IOException
protected File checkOutput() throws IOException
IOException
protected OutputStream openOutput(File targetFile) throws IOException
IOException
protected void copyAndClose(InputStream in, OutputStream out) throws IOException
IOException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.