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.
|
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. |
de.schlichtherle.truezip.sample.file |
Demonstrates the usage of the API of the module TrueZIP File*.
|
de.schlichtherle.truezip.sample.file.app |
Main classes to demonstrate the usage of the API of the TrueZIP File*
module.
|
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) |
Modifier and Type | Method and Description |
---|---|
static TArchiveDetector |
TPath.getDefaultArchiveDetector()
Equivalent to
TConfig.get().getArchiveDetector() . |
Modifier and Type | Method and Description |
---|---|
static void |
TPath.setDefaultArchiveDetector(TArchiveDetector detector)
Equivalent to
TConfig.get().setArchiveDetector(detector) . |
Modifier and Type | Method and Description |
---|---|
static void |
RaesFiles.decrypt(String raesFilePath,
String plainFilePath,
boolean authenticate,
TArchiveDetector detector)
Decrypts the given RAES file to the given plain file,
using the provided TArchiveDetector to detect any archvie files in its
parent directory path except the files themselves, which are not
recognized as archive files.
|
static void |
RaesFiles.encrypt(String plainFilePath,
String raesFilePath,
TArchiveDetector detector)
Encrypts the given plain file to the given RAES file,
using the provided TArchiveDetector to detect any archive files in its
parent directory path except the files themselves, which are not
recognized as archive files.
|
Modifier and Type | Method and Description |
---|---|
protected TArchiveDetector |
Nzip.newArchiveDetector()
May be overridden by subclasses to create the
TArchiveDetector which provides file system drivers which
should use the specified charset if supported. |
protected TArchiveDetector |
Nzip.newArchiveDetector(Charset charset) |
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.