|
org.eclipse.rse.services.clientserver.archiveutils
Class SystemTgzHandler
java.lang.Object
org.eclipse.rse.services.clientserver.archiveutils.SystemTarHandler
org.eclipse.rse.services.clientserver.archiveutils.SystemTgzHandler
-
All Implemented Interfaces:
-
ISystemArchiveHandler
-
public class SystemTgzHandler
- extends
SystemTarHandler
Handler class for .tar.gz and .tgz files.
-
Since:
- 3.0
Methods inherited from class org.eclipse.rse.services.clientserver.archiveutils.
SystemTarHandler
|
add,
add,
add,
add,
add,
add,
add,
appendEmptyFile,
appendFile,
changeTarEntry,
changeTarEntryName,
create,
createCache,
createFile,
createFolder,
createTar,
createTar,
createTarEntry,
createVirtualObject,
delete,
doDelete,
exists,
exists,
extractVirtualDirectory,
extractVirtualDirectory,
extractVirtualDirectory,
extractVirtualDirectory,
extractVirtualFile,
extractVirtualFile,
fullRename,
getArchive,
getArchiveComment,
getClassification,
getCommentFor,
getCompressedSizeFor,
getCompressionMethodFor,
getFiles,
getSizeFor,
getStandardName,
getTimeStampFor,
getVirtualChild,
getVirtualChildFolders,
getVirtualChildren,
getVirtualChildrenList,
getVirtualChildrenList,
getVirtualFile,
init,
listAllFiles,
move,
rename,
replace,
replace,
replaceFile,
search,
updateCache,
updateTree,
updateVirtualChild
|
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
SystemTgzHandler
public SystemTgzHandler(
File file)
throws
IOException
- constructor for the tgz handler
-
Parameters:
-
file - the .tar.gz or .tgz file
-
Throws:
-
IOException
getTarFile
protected
TarFile getTarFile()
- Gets a tar.gz file from the underlying file.
-
-
Overrides:
-
getTarFile
in class
SystemTarHandler
-
-
Returns:
- the tar file, or
null if the tar file does not exist.
getTarOutputStream
protected
TarOutputStream getTarOutputStream(
File outputFile)
throws
FileNotFoundException
-
Description copied from class:
SystemTarHandler
- Get the tar output stream for a given file. This method can be overridden
by subclass to return compressed output steam if needed.
-
-
Overrides:
-
getTarOutputStream
in class
SystemTarHandler
-
-
Parameters:
-
outputFile - the output file to create stream
-
Returns:
- OutputStream the output stream to write
-
Throws:
-
FileNotFoundException
- when the output file doesn't exist
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|