public class ZipFileSystemView
extends javax.swing.filechooser.FileSystemView
| Constructor and Description |
|---|
ZipFileSystemView(java.io.File zipFile,
java.net.URI base,
java.lang.String localZipPath)
Instantiates a new zip file system view.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
createFileObject(java.io.File dir,
java.lang.String filename) |
java.io.File |
createNewFolder(java.io.File file) |
java.io.File |
getChild(java.io.File dir,
java.lang.String filename) |
java.io.File |
getDefaultDirectory() |
java.io.File[] |
getFiles(java.io.File dir,
boolean useFileHiding) |
java.io.File |
getHomeDirectory() |
java.io.File |
getParentDirectory(java.io.File dir) |
java.io.File[] |
getRoots() |
java.lang.String |
getSystemDisplayName(java.io.File f) |
boolean |
isFileSystem(java.io.File f) |
boolean |
isFileSystemRoot(java.io.File dir) |
boolean |
isFloppyDrive(java.io.File dir) |
boolean |
isRoot(java.io.File f) |
java.lang.Boolean |
isTraversable(java.io.File f) |
public ZipFileSystemView(java.io.File zipFile,
java.net.URI base,
java.lang.String localZipPath)
throws java.io.IOException
zipFile - the zip filebase - the baselocalZipPath - the local zip pathjava.io.IOException - Signals that an I/O exception has occurred.public java.io.File createNewFolder(java.io.File file)
createNewFolder in class javax.swing.filechooser.FileSystemViewpublic java.io.File getHomeDirectory()
getHomeDirectory in class javax.swing.filechooser.FileSystemViewpublic java.io.File getDefaultDirectory()
getDefaultDirectory in class javax.swing.filechooser.FileSystemViewpublic java.io.File[] getRoots()
getRoots in class javax.swing.filechooser.FileSystemViewpublic boolean isFileSystem(java.io.File f)
isFileSystem in class javax.swing.filechooser.FileSystemViewpublic boolean isFileSystemRoot(java.io.File dir)
isFileSystemRoot in class javax.swing.filechooser.FileSystemViewpublic boolean isFloppyDrive(java.io.File dir)
isFloppyDrive in class javax.swing.filechooser.FileSystemViewpublic boolean isRoot(java.io.File f)
isRoot in class javax.swing.filechooser.FileSystemViewpublic java.io.File createFileObject(java.io.File dir,
java.lang.String filename)
createFileObject in class javax.swing.filechooser.FileSystemViewpublic java.io.File getChild(java.io.File dir,
java.lang.String filename)
getChild in class javax.swing.filechooser.FileSystemViewpublic java.lang.String getSystemDisplayName(java.io.File f)
getSystemDisplayName in class javax.swing.filechooser.FileSystemViewpublic java.io.File getParentDirectory(java.io.File dir)
getParentDirectory in class javax.swing.filechooser.FileSystemViewpublic java.io.File[] getFiles(java.io.File dir,
boolean useFileHiding)
getFiles in class javax.swing.filechooser.FileSystemViewpublic java.lang.Boolean isTraversable(java.io.File f)
isTraversable in class javax.swing.filechooser.FileSystemView