com.ihr.xbrl.util.zip
Class ZipFileSystemView

java.lang.Object
  extended by javax.swing.filechooser.FileSystemView
      extended by com.ihr.xbrl.util.zip.ZipFileSystemView

public class ZipFileSystemView
extends javax.swing.filechooser.FileSystemView

Author:
Ignacio

Constructor Summary
ZipFileSystemView(java.io.File zipFile, java.net.URI base, java.lang.String localZipPath)
           
 
Method Summary
 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)
           
 
Methods inherited from class javax.swing.filechooser.FileSystemView
createFileObject, getFileSystemView, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isHiddenFile, isParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipFileSystemView

public ZipFileSystemView(java.io.File zipFile,
                         java.net.URI base,
                         java.lang.String localZipPath)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

createNewFolder

public java.io.File createNewFolder(java.io.File file)
Specified by:
createNewFolder in class javax.swing.filechooser.FileSystemView

getHomeDirectory

public java.io.File getHomeDirectory()
Overrides:
getHomeDirectory in class javax.swing.filechooser.FileSystemView

getDefaultDirectory

public java.io.File getDefaultDirectory()
Overrides:
getDefaultDirectory in class javax.swing.filechooser.FileSystemView

getRoots

public java.io.File[] getRoots()
Overrides:
getRoots in class javax.swing.filechooser.FileSystemView

isFileSystem

public boolean isFileSystem(java.io.File f)
Overrides:
isFileSystem in class javax.swing.filechooser.FileSystemView

isFileSystemRoot

public boolean isFileSystemRoot(java.io.File dir)
Overrides:
isFileSystemRoot in class javax.swing.filechooser.FileSystemView

isFloppyDrive

public boolean isFloppyDrive(java.io.File dir)
Overrides:
isFloppyDrive in class javax.swing.filechooser.FileSystemView

isRoot

public boolean isRoot(java.io.File f)
Overrides:
isRoot in class javax.swing.filechooser.FileSystemView

createFileObject

public java.io.File createFileObject(java.io.File dir,
                                     java.lang.String filename)
Overrides:
createFileObject in class javax.swing.filechooser.FileSystemView

getChild

public java.io.File getChild(java.io.File dir,
                             java.lang.String filename)
Overrides:
getChild in class javax.swing.filechooser.FileSystemView

getSystemDisplayName

public java.lang.String getSystemDisplayName(java.io.File f)
Overrides:
getSystemDisplayName in class javax.swing.filechooser.FileSystemView

getParentDirectory

public java.io.File getParentDirectory(java.io.File dir)
Overrides:
getParentDirectory in class javax.swing.filechooser.FileSystemView

getFiles

public java.io.File[] getFiles(java.io.File dir,
                               boolean useFileHiding)
Overrides:
getFiles in class javax.swing.filechooser.FileSystemView

isTraversable

public java.lang.Boolean isTraversable(java.io.File f)
Overrides:
isTraversable in class javax.swing.filechooser.FileSystemView


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa