| 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.file.swing |
Provides Swing GUI classes for viewing file trees
and choosing entries in archive files.
|
| Modifier and Type | Field and Description |
|---|---|
static TArchiveDetector |
TArchiveDetector.ALL
This instance recognizes all archive types for which an archive driver
can be found by the file system driver service locator singleton
FsDriverLocator.SINGLETON. |
private TArchiveDetector |
TFile.detector |
private TArchiveDetector |
TConfig.detector |
static TArchiveDetector |
TArchiveDetector.NULL
This instance never recognizes any archive files in a path.
|
| Modifier and Type | Method and Description |
|---|---|
TArchiveDetector |
TFile.getArchiveDetector()
Returns the
TArchiveDetector that was used to detect any archive
files in the path of this file object at construction time. |
TArchiveDetector |
TConfig.getArchiveDetector()
Returns the default
TArchiveDetector to use for scanning path
names for prospective archive files if no TArchiveDetector has
been explicitly provided to a constructor. |
static TArchiveDetector |
TFile.getDefaultArchiveDetector()
Equivalent to
TConfig.get().getArchiveDetector(). |
private static TArchiveDetector |
TBIO.getDetector(File file) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TBIO.cp_r(boolean preserve,
File src,
File dst,
TArchiveDetector srcDetector,
TArchiveDetector dstDetector)
Recursively copies the source directory tree or file to the destination
directory tree or file.
|
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. |
private static void |
TBIO.cp_r0(boolean preserve,
File src,
File dst,
TArchiveDetector srcDetector,
TArchiveDetector dstDetector)
Unchecked parameters version.
|
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. |
private TFile[] |
TFile.filter(Collection<String> members,
FileFilter filter,
TArchiveDetector detector) |
private TFile[] |
TFile.filter(Collection<String> members,
FilenameFilter filter,
TArchiveDetector detector) |
private TFile[] |
TFile.filter(String[] members,
FilenameFilter filter,
TArchiveDetector detector) |
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 |
TBIO.mv(File src,
File dst,
TArchiveDetector detector)
Moves the source file or directory tree to the destination file or
directory tree by performing a recursive cp-then-delete operation.
|
private static void |
TBIO.mv0(File src,
File dst,
TArchiveDetector detector)
Unchecked parameters version.
|
private void |
TFile.parse(FsPath path,
TArchiveDetector detector) |
static void |
TBIO.rm_r(File node,
TArchiveDetector detector)
Recursively deletes the given file or directory tree.
|
private void |
TFile.scan(TFile ancestor,
TArchiveDetector detector,
int skip,
String path,
StringBuilder enclEntryNameBuf,
Paths.Splitter splitter) |
void |
TConfig.setArchiveDetector(TArchiveDetector detector)
Sets the default
TArchiveDetector to use for scanning path
names for prospective archive files if no TArchiveDetector has
been explicitly provided to a constructor. |
static void |
TFile.setDefaultArchiveDetector(TArchiveDetector detector)
Equivalent to
TConfig.get().setArchiveDetector(detector). |
| 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(File delegate,
TFile innerArchive,
TArchiveDetector detector) |
TFile(FsMountPoint mountPoint,
TArchiveDetector detector) |
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 | Field and Description |
|---|---|
private TArchiveDetector |
TFileSystemView.archiveDetector
Maybe null - uses default then.
|
| Modifier and Type | Method and Description |
|---|---|
TArchiveDetector |
TFileSystemView.getArchiveDetector()
Returns the archive detector to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TFileSystemView.setArchiveDetector(TArchiveDetector archiveDetector)
Sets the archive detector to use.
|
| Constructor and Description |
|---|
TFileSystemView(FileSystemView fileSystemView,
TArchiveDetector archiveDetector) |
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.