public interface Transferable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DIR_MODE |
static int |
DEFAULT_FILE_MODE |
Modifier and Type | Method and Description |
---|---|
default byte[] |
getBytes() |
String |
getDescription() |
default int |
getFileMode()
Get file mode.
|
long |
getSize()
Size of an object.
|
default void |
transferTo(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchiveOutputStream,
String destination)
transfer content of this Transferable to the output stream.
|
static final int DEFAULT_FILE_MODE
static final int DEFAULT_DIR_MODE
default int getFileMode()
DEFAULT_FILE_MODE
long getSize()
default void transferTo(org.apache.commons.compress.archivers.tar.TarArchiveOutputStream tarArchiveOutputStream, String destination)
tarArchiveOutputStream
- stream to outputdestination
- default byte[] getBytes()
String getDescription()
Copyright © 2017. All rights reserved.