A C D E F G H I M P R S T W

A

acquireLock(Object, File) - Static method in class it.geosolutions.tools.io.file.IOUtils
This method is responsible for checking if the input file is still being written or if its available for being parsed.
acquireLock(Object, File, long) - Static method in class it.geosolutions.tools.io.file.IOUtils
This method is responsible for checking if the input file is still being written or if its available for being parsed.
addCollectingListener(Progress<String>) - Method in class it.geosolutions.tools.io.file.CopyTree
 
addCopyListener(Progress<String>) - Method in class it.geosolutions.tools.io.file.CopyTree
 
addFile(File) - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. Asks this FileRemover to clean up this file.
appendFile(File, File) - Static method in class it.geosolutions.tools.io.file.writer.Writer
Open 'destination' file in append mode and append content of the 'toAppend' file
appendStack(File, Exception) - Static method in class it.geosolutions.tools.io.file.writer.ExceptionWriter
Append the StackTrace to a file
asyncCopyTree(CompletionService<File>, File, File, File, Progress<String>) - Static method in class it.geosolutions.tools.io.file.CopyTree
 
asynchCopyListFileToNFS(ExecutorService, List<File>, File, int) - Static method in class it.geosolutions.tools.io.file.Copy
Copy a list of files asynchronously to a destination (which can be on nfs) each thread wait (at least) 'seconds' seconds for each file propagation.
asynchFileCopyToNFS(ExecutorService, File, File, int) - Static method in class it.geosolutions.tools.io.file.Copy
 

C

closeQuietly(Channel) - Static method in class it.geosolutions.tools.io.file.IOUtils
Close the specified input FileChannel
collect(File) - Method in class it.geosolutions.tools.io.file.Collector
 
collectOlder(long, int, File) - Static method in class it.geosolutions.tools.io.file.FileRemover
Deprecated.  
Collector - Class in it.geosolutions.tools.io.file
A collector which wraps the DirectoryWalker to define a Collector which is able to collect (recursively) a set of file starting from a base dir applying a FileFilter
Collector(FileFilter) - Constructor for class it.geosolutions.tools.io.file.Collector
 
Collector(FileFilter, int) - Constructor for class it.geosolutions.tools.io.file.Collector
 
Consumer - Class in it.geosolutions.tools.io.file
 
Consumer() - Constructor for class it.geosolutions.tools.io.file.Consumer
 
Copy - Class in it.geosolutions.tools.io.file
 
Copy() - Constructor for class it.geosolutions.tools.io.file.Copy
 
copy() - Method in class it.geosolutions.tools.io.file.CopyTree
Copy the entire tree recursively (depending from the passed filter) can be interrupted using setCancelled(true)
copyChannel(int, ReadableByteChannel, WritableByteChannel) - Static method in class it.geosolutions.tools.io.file.IOUtils
Copies the content of the source channel onto the destination channel.
copyFile(File, File) - Static method in class it.geosolutions.tools.io.file.Copy
Copy the input file onto the output file using a default buffer size.
copyFile(File, File, int) - Static method in class it.geosolutions.tools.io.file.Copy
Copy the input file onto the output file using the specified buffer size.
copyFileChannel(int, FileChannel, FileChannel) - Static method in class it.geosolutions.tools.io.file.IOUtils
Optimize version of copy method for file channels.
copyFileToNFS(File, File, boolean, int) - Static method in class it.geosolutions.tools.io.file.Copy
Copy a file (preserving data) to a destination (which can be on nfs) waiting (at least) 'seconds' seconds for its propagation.
copyFileToNFS(File, File, int) - Static method in class it.geosolutions.tools.io.file.Copy
Copy a file (preserving data) to a destination (which can be on nfs) waiting (at least) 'seconds' seconds for its propagation.
copyListFileToNFS(List<File>, File, boolean, int) - Static method in class it.geosolutions.tools.io.file.Copy
 
copyStream(InputStream, OutputStream, boolean, boolean) - Static method in class it.geosolutions.tools.io.file.IOUtils
Copy InputStream to OutputStream.
copyStream(InputStream, OutputStream, int, boolean, boolean) - Static method in class it.geosolutions.tools.io.file.IOUtils
Copy InputStream to OutputStream.
CopyTree - Class in it.geosolutions.tools.io.file
Copy a Tree recursively and asynchronously
CopyTree(FileFilter, CompletionService<File>, File, File) - Constructor for class it.geosolutions.tools.io.file.CopyTree
CopyTree.CopyTree(FileFilter, CompletionService, int, File, File)
CopyTree(FileFilter, CompletionService<File>, int, File, File) - Constructor for class it.geosolutions.tools.io.file.CopyTree
 
createTodayDirectory(File) - Static method in class it.geosolutions.tools.io.file.IOUtils
Create a subDirectory having the actual date as name, within a specified destination directory.

D

deleteDirectory(File, FilenameFilter, boolean, boolean) - Static method in class it.geosolutions.tools.io.file.Remove
Delete all the files/dirs with matching the specified FilenameFilter in the specified directory.
deleteFile(File) - Static method in class it.geosolutions.tools.io.file.Remove
Delete asynchronously the specified File.

E

emptyDirectory(File, boolean, boolean) - Static method in class it.geosolutions.tools.io.file.Remove
Empty the specified directory.
ExceptionWriter - Class in it.geosolutions.tools.io.file.writer
 
ExceptionWriter() - Constructor for class it.geosolutions.tools.io.file.writer.ExceptionWriter
 
exist(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 

F

FILE_SEPARATOR - Static variable in class it.geosolutions.tools.io.file.IOUtils
 
FileGarbageCollector - Class in it.geosolutions.tools.io.file
FileCleaningTracker
FileGarbageCollector() - Constructor for class it.geosolutions.tools.io.file.FileGarbageCollector
 
FileRemover - Class in it.geosolutions.tools.io.file
Deprecated. Use FileGarbageCollector instead
FileRemover() - Constructor for class it.geosolutions.tools.io.file.FileRemover
Deprecated. Default constructor for a FileRemover.
FileRemover(long, int, int) - Constructor for class it.geosolutions.tools.io.file.FileRemover
Deprecated. Constructor for a FileRemover.
filterDirectoryContents(File, int, File[]) - Method in class it.geosolutions.tools.io.file.Collector
 
filterDirectoryContents(File, int, File[]) - Method in class it.geosolutions.tools.io.file.CopyTree
#DirectoryWalker#filterDirectoryContents(File, int, File[])

G

getFileCleaningTracker() - Static method in class it.geosolutions.tools.io.file.FileGarbageCollector
Return a initialized instance of this singleton
getList(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
getMaxAttempts() - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. Retrieves the maximum number of times we try to delete a file before giving up.
getPeriod() - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. Retrieves the period in seconds for this FileRemover .
getPropertyNames() - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
getRawMap() - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
getString(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
getValue(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 

H

handleCancelled(File, Collection<Future<File>>, DirectoryWalker.CancelException) - Method in class it.geosolutions.tools.io.file.CopyTree
#DirectoryWalker#handleCancelled(File, Collection, org.apache.commons.io.DirectoryWalker.CancelException)
handleDirectory(File, int, Collection<File>) - Method in class it.geosolutions.tools.io.file.Collector
 
handleDirectory(File, int, Collection<Future<File>>) - Method in class it.geosolutions.tools.io.file.CopyTree
#DirectoryWalker#handleDirectory(File, int, Collection)
handleEnd(Collection<Future<File>>) - Method in class it.geosolutions.tools.io.file.CopyTree
collecting operation is concluded DirectoryWalker.handleEnd(Collection)
handleFile(File, int, Collection<File>) - Method in class it.geosolutions.tools.io.file.Collector
 
handleFile(File, int, Collection<Future<File>>) - Method in class it.geosolutions.tools.io.file.CopyTree
This method is called by the DirectoryWalker.walk() one.
handleIsCancelled(File, int, Collection<Future<File>>) - Method in class it.geosolutions.tools.io.file.CopyTree
#DirectoryWalker#handleIsCancelled(File, int, Collection)
handleStart(File, Collection<Future<File>>) - Method in class it.geosolutions.tools.io.file.CopyTree
collecting operation is started DirectoryWalker.handleEnd(Collection)

I

IOUtils - Class in it.geosolutions.tools.io.file
Assorted IO related utilities
isCancelled() - Method in class it.geosolutions.tools.io.file.CopyTree
 
isMultiValue(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
isSingleValue(String) - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
 
it.geosolutions.tools.io.file - package it.geosolutions.tools.io.file
 
it.geosolutions.tools.io.file.reader - package it.geosolutions.tools.io.file.reader
 
it.geosolutions.tools.io.file.writer - package it.geosolutions.tools.io.file.writer
 

M

MAX_WAITING_TIME_FOR_LOCK - Static variable in class it.geosolutions.tools.io.file.IOUtils
The max time the node will wait for, prior to stop to attempt for acquiring a lock on a File.
MultiPropertyFile - Class in it.geosolutions.tools.io.file
Reads a property file, where a single property may be defined more than once.
MultiPropertyFile(File) - Constructor for class it.geosolutions.tools.io.file.MultiPropertyFile
 
MultiPropertyFile(InputStream) - Constructor for class it.geosolutions.tools.io.file.MultiPropertyFile
 

P

parallelCopyListFileToNFS(ExecutorService, List<File>, File, int) - Static method in class it.geosolutions.tools.io.file.Copy
Copy a list of files (preserving data) to a destination (which can be on nfs) waiting (at least) 'seconds' seconds for each file propagation.

R

read() - Method in class it.geosolutions.tools.io.file.MultiPropertyFile
Process the file.
Remove - Class in it.geosolutions.tools.io.file
 
Remove() - Constructor for class it.geosolutions.tools.io.file.Remove
 
reset(boolean) - Method in class it.geosolutions.tools.io.file.CopyTree
Deprecated. untested method
run() - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. This method does the magic: iterate over all the files try to delete it if successful drop the file references if not successful increase the attempts count for the file and call the gc.

S

setCancelled() - Method in class it.geosolutions.tools.io.file.CopyTree
set the canceled status for all pending operations
setFilter(FileFilter) - Method in class it.geosolutions.tools.io.file.Collector
Set a new filter for this collector.
setMaxAttempts(int) - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. Sets the maximum number of times we try to delete a file before giving up.
setPeriod(long) - Method in class it.geosolutions.tools.io.file.FileRemover
Deprecated. Sets the period in seconds for this FileRemover .

T

TextReader - Class in it.geosolutions.tools.io.file.reader
 
TextReader() - Constructor for class it.geosolutions.tools.io.file.reader.TextReader
 
toString(File, String) - Static method in class it.geosolutions.tools.io.file.reader.TextReader
Get the contents of a File as a String using the specified character encoding.
toString(File) - Static method in class it.geosolutions.tools.io.file.reader.TextReader
Get the contents of a File as a String using the default character encoding.
toString(StreamSource, String) - Static method in class it.geosolutions.tools.io.file.reader.TextReader
Convert the input from the provided Reader into a String.
toString(StreamSource) - Static method in class it.geosolutions.tools.io.file.reader.TextReader
Convert the input from the provided Reader into a String.

W

Writer - Class in it.geosolutions.tools.io.file.writer
 
Writer() - Constructor for class it.geosolutions.tools.io.file.writer.Writer
 

A C D E F G H I M P R S T W

Copyright © 2011-2012 GeoSolutions. All Rights Reserved.