Package | Description |
---|---|
de.schlichtherle.truezip.file |
Provides uniform, transparent, thread-safe, read/write access to archive
files as if they were just plain directories in a file system path by means
of the
TFile* classes and their dependent classes. |
de.schlichtherle.truezip.nio.file |
Provides uniform, transparent, thread-safe, read/write access to archive
files as if they were just plain directories in a file system path by means
of the
TPath class and its
dependent classes. |
Modifier and Type | Method and Description |
---|---|
static void |
TFile.cp_r(File src,
File dst,
TArchiveDetector detector)
Equivalent to
cp_r(this, dst, detector, detector) . |
static void |
TFile.cp_r(File src,
File dst,
TArchiveDetector srcDetector,
TArchiveDetector dstDetector)
Recursively copies the file or directory
src
to the file or directory dst . |
static void |
TFile.cp_rp(File src,
File dst,
TArchiveDetector detector)
Equivalent to
cp_rp(this, dst, detector, detector) . |
static void |
TFile.cp_rp(File src,
File dst,
TArchiveDetector srcDetector,
TArchiveDetector dstDetector)
Recursively copies the file or directory
src to the file or
directory dst and attempts to copy all attributes of each
source file to the destination file, too. |
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 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. |
static void |
TFile.mv(File src,
File dst,
TArchiveDetector detector)
Moves the given source file or directory to the given destination file
or directory.
|
static void |
TVFS.sync(BitField<FsSyncOption> options)
Commits all pending changes for all (nested) archive files to their
respective parent file system with respect to the given options.
|
static void |
TVFS.sync(FsMountPoint tree,
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(FsMountPoint 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.sync(FsSyncOption... options)
Commits all pending changes for all (nested) archive files to their
respective parent file system with respect to the given options.
|
static void |
TVFS.sync(TFile tree,
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. |
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.
|
Constructor and Description |
---|
TFile(File parent,
String member,
TArchiveDetector detector)
Constructs a new
TFile instance which may use the given archive
detector to scan the path name for prospective archive files. |
TFile(File file,
TArchiveDetector detector)
Constructs a new
TFile instance which may use the given archive
detector to scan the path name for prospective archive files. |
TFile(FsPath path,
TArchiveDetector detector)
Constructs a new
TFile instance for the given path and
detector . |
TFile(String parent,
String member,
TArchiveDetector detector)
Constructs a new
TFile instance which may use the given archive
detector to scan the entire path name for prospective archive
files. |
TFile(String path,
TArchiveDetector detector)
Constructs a new
TFile instance which may use the given
TArchiveDetector to scan its path name for prospective archive
files. |
Modifier and Type | Method and Description |
---|---|
TPath |
TPath.toNonArchivePath()
Returns a path object for the same path name, but does not detect any
archive file name patterns in the last path name segment.
|
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.