TrueZIP File* 7.0

Uses of Class
de.schlichtherle.truezip.file.TFile

Packages that use TFile
de.schlichtherle.truezip.file Provides convenient multi-threaded read/write access to archive files as if they were just plain old directories in a file system path by means of the TFile* classes and their dependent classes. 
de.schlichtherle.truezip.file.swing Provides Swing GUI classes for viewing file trees, choosing entries in archive files or path name autocompletion in combo boxes. 
 

Uses of TFile in de.schlichtherle.truezip.file
 

Fields in de.schlichtherle.truezip.file declared as TFile
private  TFile TFile.enclArchive
           
private  TFile TFile.innerArchive
           
 

Methods in de.schlichtherle.truezip.file that return TFile
private static TFile[] TFile.convert(File[] files, TArchiveDetector detector)
           
 TFile TFile.cp_p(File dst)
          Equivalent to cp_p(this, dst).
 TFile TFile.cp_r(File dst)
          Equivalent to cp_r(this, dst, getArchiveDetector(), getArchiveDetector()).
 TFile TFile.cp_rp(File dst)
          Equivalent to cp_rp(this, dst, getArchiveDetector(), getArchiveDetector()).
 TFile TFile.cp(File dst)
          Equivalent to cp(this, dst).
private  TFile[] TFile.delegateListFiles(FileFilter filter, TArchiveDetector detector)
           
 TFile TFile.getAbsoluteFile()
           
 TFile TFile.getCanonicalFile()
           
 TFile TFile.getCanOrAbsFile()
          This convenience method simply returns the canonical form of this abstract path or the normalized absolute form if resolving the prior fails.
 TFile TFile.getEnclArchive()
          Returns the enclosing archive file in this path.
 TFile TFile.getInnerArchive()
          Returns the innermost archive file in this path.
 TFile TFile.getNonArchivedParentFile()
          Returns the first parent directory (starting from this file) which is not an archive file or a file located in an archive file.
 TFile TFile.getNormalizedAbsoluteFile()
          Similar to getAbsoluteFile(), but removes any "." and ".." directories from the path name wherever possible.
 TFile TFile.getNormalizedFile()
          Removes any "." and ".." directories from the path name wherever possible.
 TFile TFile.getParentFile()
           
 TFile TFile.getTopLevelArchive()
          Returns The top level archive file in the path or null if this path does not denote an archive.
 TFile[] TFile.listFiles()
          Equivalent to listFiles((FilenameFilter) null, getArchiveDetector()).
 TFile[] TFile.listFiles(FileFilter fileFilter)
          Equivalent to listFiles(fileFilter, getArchiveDetector()).
 TFile[] TFile.listFiles(FileFilter filter, TArchiveDetector detector)
          Returns TFile objects for the members in this directory which are accepted by fileFilter in a newly created array.
 TFile[] TFile.listFiles(FilenameFilter filenameFilter)
          Equivalent to listFiles(filenameFilter, getArchiveDetector()).
 TFile[] TFile.listFiles(FilenameFilter filter, TArchiveDetector detector)
          Returns TFile objects for the members in this directory which are accepted by filenameFilter in a newly created array.
 TFile[] TFile.listFiles(TArchiveDetector detector)
          Returns TFile objects for the members in this directory in a newly created array.
 TFile TFile.mkdir(boolean recursive)
          Ensures that a (virtual) directory with this path name exists in the (federated) file system.
 TFile TFile.mv(File dst)
          Equivalent to mv(this, dst, getArchiveDetector()).
 TFile TFile.rm_r()
          Equivalent to rm_r(this).
 TFile TFile.rm()
          Equivalent to rm(this).
 

Methods in de.schlichtherle.truezip.file with parameters of type TFile
private  void TFile.scan(TFile ancestor)
          Initialize this file object by scanning its path for archive files, using the given ancestor file (i.e. a direct or indirect parent file) if any.
private  void TFile.scan(TFile ancestor, TArchiveDetector detector, int skip, String path, StringBuilder enclEntryNameBuf, Paths.Splitter splitter)
           
static void TFile.sync(TFile archive, BitField<FsSyncOption> options)
          Commits all unsynchronized changes to the contents of all federated file systems (i.e. archive files) identified by archive and all its member federated file systems to their respective parent file system, releases the associated resources (i.e. the target archive files) for access by third parties (e.g. other processes) and cleans up any temporary resources (i.e. temporary files).
static void TFile.umount(TFile archive)
          Commits all unsynchronized changes to the contents of all federated file systems (i.e. archive files) to their respective parent file system, releases the associated resources (i.e. the target archive files) for access by third parties (e.g. other processes) and cleans up any temporary resources (i.e. temporary files).
static void TFile.umount(TFile archive, boolean closeStreams)
          Commits all unsynchronized changes to the contents of all federated file systems (i.e. archive files) to their respective parent file system, releases the associated resources (i.e. the target archive files) for access by third parties (e.g. other processes) and cleans up any temporary resources (i.e. temporary files).
static void TFile.umount(TFile archive, boolean waitForInputStreams, boolean closeInputStreams, boolean waitForOutputStreams, boolean closeOutputStreams)
          Commits all unsynchronized changes to the contents of all federated file systems (i.e. archive files) to their respective parent file system, releases the associated resources (i.e. the target archive files) for access by third parties (e.g. other processes) and cleans up any temporary resources (i.e. temporary files).
 

Constructors in de.schlichtherle.truezip.file with parameters of type TFile
TFile(File delegate, TFile innerArchive, TArchiveDetector detector)
           
TFileReader(TFile file)
           
TFileReader(TFile file, CharsetDecoder decoder)
           
TFileWriter(TFile file)
           
TFileWriter(TFile file, boolean append)
           
TFileWriter(TFile file, boolean append, CharsetEncoder encoder)
           
 

Uses of TFile in de.schlichtherle.truezip.file.swing
 

Fields in de.schlichtherle.truezip.file.swing declared as TFile
private  TFile TFileTree.editedNode
           
private  TFile TFileTreeModel.root
           
 

Fields in de.schlichtherle.truezip.file.swing with type parameters of type TFile
private  Map<TFile,TFile[]> TFileTreeModel.cache
          Used to cache the contents of directories.
private  Comparator<? super TFile> TFileTreeModel.comparator
          A comparator for TFile or super classes.
 

Methods in de.schlichtherle.truezip.file.swing that return TFile
 TFile TFileTreeModel.getChild(Object parent, int index)
           
private  TFile[] TFileTreeModel.getChildren(TFile parent)
           
 TFile TFileChooser.getCurrentDirectory()
           
(package private)  TFile TFileTree.getEditedNode()
          Returns the node that is currently edited, if any.
 TFile TFileTreeModel.getRoot()
           
 TFile TFileChooser.getSelectedFile()
           
 TFile[] TFileChooser.getSelectedFiles()
           
private static TFile TFileView.newNonArchiveFile(TFile file)
           
private  TFile[] TFileTreeModel.newPath(TFile node)
          Returns an array of TFile objects indicating the path from the root to the given node.
private  TFile[] TFileTreeModel.newPath(TFile node, int level)
           
protected  TFile TFileSystemView.wrap(File file)
          Ensures that the returned file object is an instance of TFile.
 

Methods in de.schlichtherle.truezip.file.swing with parameters of type TFile
 void TFileTreeModel.cp_p(TFile oldNode, TFile node)
          Copies oldNode to node preserving its last modification time and updates the tree accordingly.
 void TFileTree.cp_p(TFile oldNode, TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the copied node is selected and visible.
 void TFileTreeModel.cp_r(TFile oldNode, TFile node)
          Copies oldNode to node recursively and updates the tree accordingly.
 void TFileTree.cp_r(TFile oldNode, TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the recursively copied node is selected and visible.
 void TFileTreeModel.cp_rp(TFile oldNode, TFile node)
          Copies oldNode to node recursively preserving its last modification time and updates the tree accordingly.
 void TFileTree.cp_rp(TFile oldNode, TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the recursively copied node is selected and visible.
 void TFileTreeModel.cp(InputStream in, TFile node)
          Copies in to node and updates the tree accordingly.
 void TFileTree.cp(InputStream in, TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the copied node is selected and visible.
 void TFileTreeModel.cp(TFile oldNode, TFile node)
          Copies oldNode to node and updates the tree accordingly.
 void TFileTree.cp(TFile oldNode, TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the copied node is selected and visible.
 boolean TFileTreeModel.createNewFile(TFile node)
          Creates node as a new file in the file system and updates the tree accordingly.
 boolean TFileTree.createNewFile(TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the newly created file is selected and visible.
(package private)  void TFileTreeModel.forget(TFile node)
          Clears the internal cache associated with node and all of its children.
private  void TFileTreeModel.forget(TFile node, boolean childrenToo)
          Clears the internal cache associated with node.
private  TFile[] TFileTreeModel.getChildren(TFile parent)
           
private static boolean TFileView.isEntryInTrueArchive(TFile file)
           
private static boolean TFileView.isTrueArchive(TFile file)
           
 void TFileTreeModel.mkdir(TFile node, boolean recursive)
          Ensures that node exists as a (virtual) directory in the (federated) file system and updates the tree accordingly.
 void TFileTree.mkdir(TFile node, boolean recursive)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the newly created directory is selected and visible.
 void TFileTreeModel.mv(TFile oldNode, TFile node)
          Moves oldNode to node and updates the tree accordingly.
 void TFileTree.mv(TFile oldNode, TFile node)
          Forwards the call to the TFileTreeModel, restores the expanded paths, selects node and scrolls to it if necessary.
private static TFile TFileView.newNonArchiveFile(TFile file)
           
private  TFile[] TFileTreeModel.newPath(TFile node)
          Returns an array of TFile objects indicating the path from the root to the given node.
private  TFile[] TFileTreeModel.newPath(TFile node, int level)
           
(package private)  TreePath TFileTreeModel.newTreePath(TFile node)
          Returns a new TreePath for the given node or null if node is not part of this file tree or is null.
 void TFileTreeModel.nodeChanged(TFile node)
          Updates the given node in the tree.
 void TFileTreeModel.nodeInserted(TFile node)
          Inserts the given node in the tree.
 void TFileTreeModel.nodeInsertedOrStructureChanged(TFile node)
          Inserts the given node in the tree or reloads the tree structure for the given node if it already exists.
 void TFileTreeModel.nodeRemoved(TFile node)
          Removes the given node from the tree.
 void TFileTreeModel.refresh(TFile node)
          Alias for TFileTreeModel.structureChanged(TFile).
 void TFileTree.refresh(TFile node)
          Refreshes the subtree for the given node, restores the expanded and selected paths and scrolls to the lead selection path if necessary.
 void TFileTreeModel.rm_r(TFile node)
          Deletes the file or (probably not empty) directory node and updates the tree accordingly.
 void TFileTree.rm_r(TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the successor to the deleted node is selected and visible.
 void TFileTreeModel.rm(TFile node)
          Deletes the file or empty directory node and updates the tree accordingly.
 void TFileTree.rm(TFile node)
          Forwards the call to the TFileTreeModel and scrolls the tree so that the successor to the deleted node is selected and visible.
 void TFileTree.scrollNodeToVisible(TFile node)
           
 void TFileTree.setSelectionNode(TFile node)
           
 void TFileTree.setSelectionNodes(TFile[] nodes)
           
 void TFileTreeModel.structureChanged(TFile node)
          Reloads the tree structure for the given node.
 

Constructors in de.schlichtherle.truezip.file.swing with parameters of type TFile
TFileChooser(TFile currentDirectory)
           
TFileChooser(TFile currentDirectory, TFileSystemView fileSystemView)
           
TFileTree(TFile root)
          Creates a new TFileTree which traverses the given root root file.
TFileTreeModel(TFile root, FileFilter filter, Comparator<? super TFile> comparator)
          Creates a new TFileTreeModel which browses the specified root file.
 

Constructor parameters in de.schlichtherle.truezip.file.swing with type arguments of type TFile
TFileTreeModel(TFile root, FileFilter filter, Comparator<? super TFile> comparator)
          Creates a new TFileTreeModel which browses the specified root file.
 


TrueZIP File* 7.0

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.