|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FileBasePath | |
---|---|
org.silverpeas.process.io.file |
Uses of FileBasePath in org.silverpeas.process.io.file |
---|
Methods in org.silverpeas.process.io.file that return FileBasePath | |
---|---|
FileBasePath |
HandledFile.getBasePath()
|
static FileBasePath |
FileBasePath.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FileBasePath[] |
FileBasePath.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.silverpeas.process.io.file with parameters of type FileBasePath | |
---|---|
protected void |
FileHandler.cleanDirectory(FileBasePath basePath,
File directory)
|
protected boolean |
FileHandler.contentEquals(FileBasePath basePath,
File file1,
File file2)
Both of given files are handled |
protected boolean |
FileHandler.contentEquals(File file1,
FileBasePath basePath,
File file2)
The first given file is not handled. |
protected void |
FileHandler.copyFile(FileBasePath basePath,
File srcFile,
File destFile)
Both of given files are handled |
protected void |
FileHandler.copyFile(FileBasePath basePath,
File srcFile,
FileBasePath basePathDest,
File destFile)
Both of given files are handled |
protected long |
FileHandler.copyFile(FileBasePath basePath,
File input,
OutputStream output)
The given file is handled |
protected void |
FileHandler.copyInputStreamToFile(FileBasePath basePath,
File file,
InputStream inputStream,
boolean append)
|
protected void |
FileHandler.copyURLToFile(URL source,
FileBasePath basePath,
File destination)
The given file is handled |
protected boolean |
FileHandler.delete(FileBasePath basePath,
File file)
|
protected boolean |
FileHandler.exists(FileBasePath basePath,
File file,
String... names)
Indicates if the file exists in session or in real path. |
protected File |
AbstractFileHandler.getExistingFile(FileBasePath basePath,
File file)
If the given file doesn't exist in session path, then the file existing in real path is returned. |
protected File |
AbstractFileHandler.getFileForWriting(FileBasePath basePath,
File file)
If the given file doesn't exist in session path, then the file existing in real path is returned. |
protected File |
AbstractFileHandler.getFileForWriting(FileBasePath basePath,
File file,
boolean append)
If the given file doesn't exist in session path, then the file existing in real path is returned. |
HandledFile |
FileHandler.getHandledFile(FileBasePath basePath,
File file,
String... names)
Gets the handled file that represents the file in session path if exists or if the file doesn't exist into destination path. |
HandledFile |
FileHandler.getHandledFile(FileBasePath basePath,
String... names)
Gets the handled file that represents the file in session path if exists or if the file doesn't exist into destination path. |
protected Collection<String> |
AbstractFileHandler.getSessionHandledRootPathNames(FileBasePath basePath,
boolean skipDeleted)
Gets handled root directories of a base path from the session. |
protected boolean |
FileHandler.isFileNewer(FileBasePath basePath,
File file,
Date date)
|
protected boolean |
FileHandler.isFileNewer(FileBasePath basePath,
File file,
File reference)
|
protected boolean |
FileHandler.isFileNewer(FileBasePath basePath,
File file,
long timeMillis)
|
protected boolean |
FileHandler.isFileOlder(FileBasePath basePath,
File file,
Date date)
|
protected boolean |
FileHandler.isFileOlder(FileBasePath basePath,
File file,
File reference)
|
protected boolean |
FileHandler.isFileOlder(FileBasePath basePath,
File file,
long timeMillis)
|
protected boolean |
AbstractFileHandler.isHandledPath(FileBasePath basePath)
Indicates if the given path is handled or not |
protected boolean |
AbstractFileHandler.isMarkedToDelete(FileBasePath basePath,
File file)
Indicates if the file will be deleted |
protected Collection<File> |
AbstractFileHandler.listAllSessionHandledRootPathFiles(FileBasePath basePath)
Gets handled root directory Files of a base path from the session. |
protected Collection<File> |
FileHandler.listFiles(FileBasePath basePath,
File directory,
boolean recursive,
String... extensions)
|
protected Collection<File> |
FileHandler.listFiles(FileBasePath basePath,
File directory,
org.apache.commons.io.filefilter.IOFileFilter fileFilter,
org.apache.commons.io.filefilter.IOFileFilter dirFilter)
|
protected Collection<File> |
FileHandler.listFiles(FileBasePath basePath,
File directory,
String... extensions)
Adding this simple method based on listFiles from @see FileUtils |
protected boolean |
AbstractFileHandler.markToDelete(FileBasePath basePath,
File file)
Mark the given file to be deleted. |
protected void |
FileHandler.moveFile(FileBasePath basePath,
File srcFile,
File destFile)
Both of given files are handled |
protected void |
FileHandler.moveFile(FileBasePath basePath,
File srcFile,
FileBasePath baseDestPath,
File destFile)
Both of given files are handled |
protected InputStream |
FileHandler.openInputStream(FileBasePath basePath,
File file)
|
protected OutputStream |
FileHandler.openOutputStream(FileBasePath basePath,
File file)
|
protected OutputStream |
FileHandler.openOutputStream(FileBasePath basePath,
File file,
boolean append)
|
protected byte[] |
FileHandler.readFileToByteArray(FileBasePath basePath,
File file)
|
protected String |
FileHandler.readFileToString(FileBasePath basePath,
File file)
|
protected String |
FileHandler.readFileToString(FileBasePath basePath,
File file,
String encoding)
|
protected List<String> |
FileHandler.readLines(FileBasePath basePath,
File file)
|
protected List<String> |
FileHandler.readLines(FileBasePath basePath,
File file,
String encoding)
|
protected long |
FileHandler.sizeOf(FileBasePath basePath,
File file)
|
protected long |
FileHandler.sizeOfDirectory(FileBasePath basePath,
File directory)
|
protected long |
AbstractFileHandler.sizeOfSessionWorkingPath(FileBasePath basePath,
String... relativeRootPath)
This method calculates the size of files contained in the given relative root path from the session and subtracts from the previous result the size of files marked to be deleted. |
protected void |
FileHandler.touch(FileBasePath basePath,
File file,
String... names)
|
protected File |
AbstractFileHandler.translateToRealPath(FileBasePath basePath,
File file)
Translate to real. |
protected File |
AbstractFileHandler.translateToSessionPath(FileBasePath basePath,
File file)
Translate to session path. |
protected void |
AbstractFileHandler.verify(FileBasePath basePath,
File file)
Verify the integrity between handled path and file |
protected void |
AbstractFileHandler.verify(FileBasePath basePath,
File file,
boolean isReadOnly)
Verify the integrity between handled path and file |
protected boolean |
FileHandler.waitFor(FileBasePath basePath,
File file,
int seconds)
|
protected void |
FileHandler.write(FileBasePath basePath,
File file,
CharSequence data)
|
protected void |
FileHandler.write(FileBasePath basePath,
File file,
CharSequence data,
boolean append)
|
protected void |
FileHandler.write(FileBasePath basePath,
File file,
CharSequence data,
String encoding)
|
protected void |
FileHandler.write(FileBasePath basePath,
File file,
CharSequence data,
String encoding,
boolean append)
|
protected void |
FileHandler.writeByteArrayToFile(FileBasePath basePath,
File file,
byte[] data)
|
protected void |
FileHandler.writeByteArrayToFile(FileBasePath basePath,
File file,
byte[] data,
boolean append)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
Collection<?> lines)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
Collection<?> lines,
boolean append)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
Collection<?> lines,
String lineEnding)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
Collection<?> lines,
String lineEnding,
boolean append)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
String encoding,
Collection<?> lines)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
String encoding,
Collection<?> lines,
boolean append)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
String encoding,
Collection<?> lines,
String lineEnding)
|
protected void |
FileHandler.writeLines(FileBasePath basePath,
File file,
String encoding,
Collection<?> lines,
String lineEnding,
boolean append)
|
protected void |
FileHandler.writeStringToFile(FileBasePath basePath,
File file,
String data)
|
protected void |
FileHandler.writeStringToFile(FileBasePath basePath,
File file,
String data,
boolean append)
|
protected void |
FileHandler.writeStringToFile(FileBasePath basePath,
File file,
String data,
String encoding)
|
protected void |
FileHandler.writeStringToFile(FileBasePath basePath,
File file,
String data,
String encoding,
boolean append)
|
Constructors in org.silverpeas.process.io.file with parameters of type FileBasePath | |
---|---|
HandledFile(FileBasePath basePath,
FileHandler fileHandler,
File file)
Default constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |