isTarFile(String fileName) Determine whether the file with the given filename is in .tar.gz or .tar
format.
public static boolean
isZipFile(String fileName) Determine whether the file with the given filename is in .zip or .jar
format.
Method Detail
clearProviderCache
public static void clearProviderCache(Shell shell)(Code)
Clears the cached structure provider after first finalizing it properly.
Parameters: shell - The shell to display any possible Dialogs in
closeZipFile
public static boolean closeZipFile(ZipFile file, Shell shell)(Code)
Attempts to close the passed zip file, and answers a boolean indicating
success.
Parameters: file - The zip file to attempt to close Parameters: shell - The shell to display error dialogs in Returns true if the operation was successful
Returns a structure provider for the specified tar file.
Parameters: targetTar - The specified tar file Parameters: shell - The shell to display dialogs in the structure provider