| Modifier and Type | Field and Description |
|---|---|
static EAppend |
EAppend.DEFAULT
The default is
TRUNCATE |
| Modifier and Type | Method and Description |
|---|---|
static EAppend |
EAppend.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EAppend[] |
EAppend.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default OutputStream |
IHasOutputStream.getBufferedOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
default Writer |
IHasOutputStreamAndWriter.getBufferedWriter(Charset aCharset,
EAppend eAppend)
Get a buffered
Writer based on this output stream provider using
the given charset. |
OutputStream |
IHasOutputStream.getOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
default Writer |
IHasOutputStreamAndWriter.getWriter(Charset aCharset,
EAppend eAppend)
Get a
Writer based on this output stream provider using the given
charset. |
| Modifier and Type | Method and Description |
|---|---|
static NonBlockingBufferedOutputStream |
FileHelper.getBufferedOutputStream(File aFile,
EAppend eAppend) |
static NonBlockingBufferedOutputStream |
PathHelper.getBufferedOutputStream(Path aFile,
EAppend eAppend) |
static NonBlockingBufferedWriter |
FileHelper.getBufferedWriter(File aFile,
EAppend eAppend,
Charset aCharset) |
static NonBlockingBufferedWriter |
PathHelper.getBufferedWriter(Path aFile,
EAppend eAppend,
Charset aCharset) |
static FileChannel |
FileChannelHelper.getFileWriteChannel(File aFile,
EAppend eAppend) |
static FileChannel |
FileChannelHelper.getFileWriteChannel(String sFilename,
EAppend eAppend) |
static OutputStream |
FileChannelHelper.getMappedOutputStream(File aFile,
EAppend eAppend) |
static OutputStream |
FileChannelHelper.getMappedOutputStream(String sFilename,
EAppend eAppend) |
static FileOutputStream |
FileHelper.getOutputStream(File aFile,
EAppend eAppend)
Get an output stream for writing to a file.
|
static OutputStream |
PathHelper.getOutputStream(Path aFile,
EAppend eAppend)
Get an output stream for writing to a file.
|
static PrintWriter |
FileHelper.getPrintWriter(File aFile,
EAppend eAppend,
Charset aCharset) |
static OutputStreamWriter |
FileHelper.getWriter(File aFile,
EAppend eAppend,
Charset aCharset) |
static Writer |
PathHelper.getWriter(Path aFile,
EAppend eAppend,
Charset aCharset) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
IOutputStreamProvider.getOutputStream(String sName,
EAppend eAppend)
Get the output stream from the given name.
|
OutputStream |
FileSystemCharStreamProvider.getOutputStream(String sName,
EAppend eAppend) |
OutputStream |
FileSystemByteStreamProvider.getOutputStream(String sName,
EAppend eAppend) |
Writer |
IWriterProvider.getWriter(String sName,
EAppend eAppend)
Get the writer from the given name.
|
Writer |
FileSystemCharStreamProvider.getWriter(String sName,
EAppend eAppend) |
| Modifier and Type | Method and Description |
|---|---|
default OutputStream |
IFileRelativeIO.getOutputStream(String sRelativePath,
EAppend eAppend)
Get the
OutputStream relative to the base path |
default Writer |
IFileRelativeIO.getWriter(String sRelativePath,
Charset aCharset,
EAppend eAppend)
Get the
Writer relative to the base path. |
default ESuccess |
IFileRelativeIO.writeFile(String sRelativePath,
EAppend eAppend,
byte[] aBytes)
Helper function for saving a file with correct error handling.
|
| Modifier and Type | Method and Description |
|---|---|
FileOutputStream |
FileSystemResource.getOutputStream(EAppend eAppend) |
Writer |
FileSystemResource.getWriter(Charset aCharset,
EAppend eAppend) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
GZIPWritableResource.getOutputStream(EAppend eAppend) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
WritableResourceProviderChain.getOutputStream(String sName,
EAppend eAppend) |
default OutputStream |
IWritableResourceProvider.getOutputStream(String sName,
EAppend eAppend)
Get the
OutputStream specified by the given name for reading. |
| Modifier and Type | Field and Description |
|---|---|
static EAppend |
CountingFileOutputStream.DEFAULT_APPEND
By default append is enabled
|
| Constructor and Description |
|---|
CountingFileOutputStream(File aFile,
EAppend eAppend) |
CountingFileOutputStream(String sFilename,
EAppend eAppend) |
| Modifier and Type | Method and Description |
|---|---|
NonBlockingByteArrayOutputStream |
ByteArrayOutputStreamProvider.getOutputStream(EAppend eAppend) |
Copyright © 2014–2019 Philip Helger. All rights reserved.