|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ByteSerializationManager that resolves
the tasks of serializing from a file an backCharSerializationManager that provides
default implementations for its methods except of #serialize(Reader)
and CharSerializationManager.deserialize(Reader)Lifecycle, initializing the resource it handles,
doing some work with it, disposing the resource and returning the work
result.
CharSerializationLifecycle are abstract Lifecycles that open
a writer or reader, serialize or deserialize an object, and close the open
resource.CharSerializationLifecycle
Lifecycle that deserializes a single object of type A
using a CharSerializationManagerCharSerializationLifecycle.Deserialize
Lifecycle that serializes a single object using a
CharSerializationManagerCharSerializationLifecycle.Serialize
ObjectPreferences implementation that serializes objects using a
CharSerializationManagerCharSerializationObjectPreferences
FileUtils.cleanDirectory(this.getFile())
Lifecycle that closes target on disposing it.FileUtils.copyDirectory(file, destination.getFile())
Directory from a pathname
Directory from a File.
Lifecycles parameterized to have a Void result
should not override this method, but
Lifecycle.doVoidWork(Object) instead
Files.fileName() instead
Files.filePath() instead
FilePredicate
AbstractPredicate that wraps a FileFilter and acts as a
FileFilter api to Evaluable api bridgeFilePredicate that wraps the given FileFilter
Applicatives for dealing with FilesPreferences.flush()
Stream that retrieves lines from the given
Readable
Stream that retrieves lines from the given
InputStream
Stream that retrieves objects from the given
ObjectInput
Stream that retrieves tokens that match the given regular
expression from the given Readable
Stream that retrieves tokens that match the given regular
expression from the given InputStream
Stream that retrieves words from the given
Readable
Stream that retrieves words from the given
InputStream
Stream that retrieves all the non-directory files
contained by this directory or in subdirectories, recursing the directory
tree using a breadth-first algorithm
Stream that retrieves all the non-directory files
contained by this directory or in subdirectories, recursing the directory
tree using a depth-first algorithm
File of this directory
Stream of the files directly contained by this directory
Directory.getDepthFirstFileStream().
CharSerializationManager
SerializationManager
CallablesApplicativesFiles insteadFiles insteadStreams that retrieve elements from
different IO sourcesRestriction that signals that the annotated argument will not be
closed or disposed within the mehtod evaluation.Lifecycle is a logic of initialization, use and dispose of a
resource , that can be executed as a single unit of work.Lifecycle
and CloseableLifecycle,
classes that help to automate handling of resources which need to be initialized
before being used, and then disposed.Preferences, that
is capable of storing "small" object values instead of primitivesPreferences API, built on top of it, that supports
storing and retrieving "small" objects.ByteSerializationManager that uses standard Java
serialization API based on ObjectInputStreams and
ObjectOutputStreamsFileChannel for the given file.
InputStream for the given file.
Reader for the given file.
Executable that prints its argument to the given
printStream
Executable that prints its argument, followed by a line
terminator, to the given printStream
Executable that prints its argument to the standard
error output, followed by a line terminator.
Executable that prints its argument to the standard
output, followed by a line terminator.
Executable that prints its argument to the standard
error output
Executable that prints its argument to the standard
output
SerializationLifecycle
Lifecycle that deserializes a single object of type A
using a SerializationManagerLifecycle that serializes a single object using a
SerializationManagerSerializationManager is an object capable of both converting an
object into an OutputStream and recovering it from an
InputStream
This interface does not make any assumption regarding the strategy and format
in which the object is serialized, it may be in plain text, like JSON, or in
some kind of binary format.target object to the given
outputStream.
Directory size.
Files.suffix(String...) instead
ObjectPreferences for the given class package
Callable.call() to the given callable, throwing
any exception of type exceptionClass - including subtypes - ,
and softening any exception of any other type.
Callable.call() to the given callable, throwing
any exception of type exceptionClass1 or
exceptionClass2 - including subtypes - , and softening any
exception of any other type.
exceptionClass that may occur when
sending Lifecycle.call().
exceptionClass1 and
exceptionClass2 that may occur when sending Lifecycle.call().
ObjectPreferences for the given class package
Lifecycle.call() message, softening any exception that may occur.
XmlSerializationManager that converts objects using XStreamXStreamXmlSerializationManager using a given
XStream instance.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||