| 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. |
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()
Deprecated.
Calling this method is equivalent to
TConfig.get().getArchiveDetector(). |
| 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.
|
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 TFile constructor. |
static void |
TFile.setDefaultArchiveDetector(TArchiveDetector detector)
Deprecated.
Calling this method is 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(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 |
|---|---|
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 © 2005–2015 Schlichtherle IT Services. All rights reserved.