| Modifier and Type | Method and Description |
|---|---|
TFile |
TFile.compact()
Compacts this archive file by removing any redundant archive entry
contents and meta data, including central directories.
|
TFile |
TFile.cp_p(File dst)
Equivalent to
cp_p(this, dst). |
TFile |
TFile.cp_r(File dst)
Equivalent to
cp_r(this, dst, detector, detector),
where detector is TConfig.current().getArchiveDetector(). |
TFile |
TFile.cp_rp(File dst)
Equivalent to
cp_rp(this, dst, detector, detector),
where detector is TConfig.current().getArchiveDetector(). |
TFile |
TFile.cp(File dst)
Equivalent to
cp(this, dst). |
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 parent file system object for this file object.
|
TFile |
TFile.getInnerArchive()
Returns the innermost archive file object for this file object.
|
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 redundant
"." and ".." directories from the
path name. |
TFile |
TFile.getParentFile() |
TFile |
TFile.getTopLevelArchive()
Returns the top level archive file in the path or
null if this
file object does not name an archive file. |
TFile[] |
TFile.listFiles() |
TFile[] |
TFile.listFiles(FileFilter filter)
Note that archive entries with absolute paths are ignored by this
method and are never returned.
|
TFile[] |
TFile.listFiles(FilenameFilter filter)
Note that archive entries with absolute paths are ignored by this
method and are never returned.
|
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)
|
TFile |
TFile.rm_r()
Equivalent to
rm_r(this). |
TFile |
TFile.rm()
Equivalent to
rm(this). |
TFile |
TRex.toFile()
Returns a file representation of this object.
|
TFile |
TPath.toFile()
Returns a new
TFile object for this path. |
TFile |
TFile.toFile() |
TFile |
TFile.toNonArchiveFile()
Returns a file object for the same path name, but does not detect any
archive file name patterns in the last path name segment.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TVFS.sync(TFile tree,
net.java.truecommons.shed.BitField<FsSyncOption> options)
Commits all pending changes for all (nested) archive files within the
given (virtual) directory
tree to their respective parent file
system with respect to the given options. |
static void |
TVFS.sync(TFile tree,
FsSyncOption... options)
Commits all pending changes for all (nested) archive files within the
given (virtual) directory
tree to their respective parent file
system with respect to the given options. |
static void |
TVFS.umount(TFile tree)
Commits all pending changes for all (nested) archive files within the
given (virtual) directory
tree to their respective parent file
system, closes their associated target archive file in order to allow
access by third parties (e.g. other processes), cleans up any
temporary allocated resources (e.g. temporary files) and purges any
cached data. |
Copyright © 2005–2014 Schlichtherle IT Services. All rights reserved.