| Package | Description |
|---|---|
| com.phloc.commons.io | |
| com.phloc.commons.io.file | |
| com.phloc.commons.io.resolver | |
| com.phloc.commons.io.resource | |
| com.phloc.commons.io.streamprovider | |
| com.phloc.commons.io.streams |
| 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 |
|---|---|
OutputStream |
IOutputStreamProvider.getOutputStream(EAppend eAppend)
Get the output stream to read from the object.
|
OutputStream |
IOutputStreamResolver.getOutputStream(String sName,
EAppend eAppend)
Get the output stream from the given name.
|
Writer |
IOutputStreamAndWriterProvider.getWriter(Charset aCharset,
EAppend eAppend)
Get an
Writer based on this output stream provider using the given
charset. |
Writer |
IWriterResolver.getWriter(String sName,
EAppend eAppend)
Get the writer from the given name.
|
Writer |
IOutputStreamAndWriterProvider.getWriter(String sCharset,
EAppend eAppend)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static FileChannel |
FileUtils.getFileWriteChannel(File aFile,
EAppend eAppend) |
static FileChannel |
FileUtils.getFileWriteChannel(String sFilename,
EAppend eAppend) |
static OutputStream |
FileUtils.getMappedOutputStream(File aFile,
EAppend eAppend) |
static OutputStream |
FileUtils.getMappedOutputStream(String sFilename,
EAppend eAppend) |
static OutputStream |
FileUtils.getOutputStream(File aFile,
EAppend eAppend)
Get an output stream for writing to a file.
|
static OutputStream |
FileUtils.getOutputStream(String sFilename,
EAppend eAppend)
Get an output stream for writing to a file.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
FileSystemByteStreamResolver.getOutputStream(String sName,
EAppend eAppend) |
Writer |
FileSystemCharStreamResolver.getWriter(String sName,
EAppend eAppend) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
FileSystemResource.getOutputStream(EAppend eAppend) |
static OutputStream |
FileSystemResource.getOutputStream(File aFile,
EAppend eAppend) |
Writer |
FileSystemResource.getWriter(Charset aCharset,
EAppend eAppend) |
static Writer |
FileSystemResource.getWriter(File aFile,
Charset aCharset,
EAppend eAppend) |
static Writer |
FileSystemResource.getWriter(File aFile,
String sCharset,
EAppend eAppend)
Deprecated.
|
Writer |
FileSystemResource.getWriter(String sCharset,
EAppend eAppend)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NonBlockingByteArrayOutputStream |
ByteArrayOutputStreamProvider.getOutputStream(EAppend eAppend) |
OutputStreamWriter |
ByteArrayOutputStreamProvider.getWriter(Charset aCharset,
EAppend eAppend) |
OutputStreamWriter |
ByteArrayOutputStreamProvider.getWriter(String sCharset,
EAppend eAppend)
Deprecated.
|
| 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) |
Copyright © 2006–2014 phloc systems. All rights reserved.