public class TarFileExporter extends java.lang.Object implements IFileExporter
Constructor and Description |
---|
TarFileExporter(java.lang.String filename,
boolean compress)
Create an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Do all required cleanup now that we're finished with the
currently-open .tar.gz
|
void |
write(IFile resource,
java.lang.String destinationPath)
Write the passed resource to the current archive.
|
public TarFileExporter(java.lang.String filename, boolean compress) throws java.io.IOException
filename
- java.lang.Stringcompress
- booleanjava.io.IOException
public void finished() throws java.io.IOException
finished
in interface IFileExporter
java.io.IOException
public void write(IFile resource, java.lang.String destinationPath) throws java.io.IOException, CoreException
write
in interface IFileExporter
resource
- org.eclipse.core.resources.IFiledestinationPath
- java.lang.Stringjava.io.IOException
org.eclipse.core.runtime.CoreException
CoreException