Modifier and Type | Class and Description |
---|---|
public static enum | ResourcePoolEntry.
Type of module data. |
Modifier and Type | Method and Description |
---|---|
public InputStream | Returns: The resource content as an InputStream.The ResourcePoolEntry content as an InputStream. |
public default byte[] | |
public long | |
public default ResourcePoolEntry | Returns: A new ResourcePoolEntry.The new resource content. content)Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry. |
public default ResourcePoolEntry | Returns: A new ResourcePoolEntry.The new resource content. file)Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry. |
public static ResourcePoolEntry | Returns: A new ResourcePoolEntry.The resource path. path, ResourcePoolEntry.The ResourcePoolEntry type. type,The resource content. content)Create a ResourcePoolEntry for a resource of the given type. |
public static ResourcePoolEntry | Returns: A new ResourcePoolEntry.The resource path. path, byte[] The resource content. content)Create a ResourcePoolEntry for a resource of type |
public static ResourcePoolEntry | Returns: A new ResourcePoolEntry.The resource path. path, ResourcePoolEntry.The ResourcePoolEntry type. type,The resource file. file)Create a ResourcePoolEntry for a resource of the given type. |
public static ResourcePoolEntry | Returns: A new ResourcePoolEntry.The resource path. path, Path The resource file. file)Create a ResourcePoolEntry for a resource of type |
public static ResourcePoolEntry | Returns: A new ResourcePoolEntryThe resource path. path, ResourcePoolEntry.The ResourcePoolEntry type. type,The target entry target)Create a ResourcePoolEntry for a resource the given path and type. |
public default ResourcePoolEntry | Returns: the target ResourcePoolEntry linked with this entry.Returns a target linked with this entry. |
public String | |
public String | |
public ResourcePoolEntry. | |
public default void | write(OutputStream
the output stream out)Write the content of this ResourcePoolEntry to an OutputStream. |
content | back to summary |
---|---|
public InputStream content() The ResourcePoolEntry content as an InputStream.
|
contentBytes | back to summary |
---|---|
public default byte[] contentBytes() The ResourcePoolEntry content as an array of bytes.
|
contentLength | back to summary |
---|---|
public long contentLength() The ResourcePoolEntry content length.
|
copyWithContent | back to summary |
---|---|
public default ResourcePoolEntry copyWithContent(byte[] content) Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry.
|
copyWithContent | back to summary |
---|---|
public default ResourcePoolEntry copyWithContent(Path file) Create a ResourcePoolEntry with new content but other information copied from this ResourcePoolEntry.
|
create | back to summary |
---|---|
public static ResourcePoolEntry create(String path, ResourcePoolEntry. Create a ResourcePoolEntry for a resource of the given type.
|
create | back to summary |
---|---|
public static ResourcePoolEntry create(String path, byte[] content) Create a ResourcePoolEntry for a resource of type
|
create | back to summary |
---|---|
public static ResourcePoolEntry create(String path, ResourcePoolEntry. Create a ResourcePoolEntry for a resource of the given type.
|
create | back to summary |
---|---|
public static ResourcePoolEntry create(String path, Path file) Create a ResourcePoolEntry for a resource of type
|
createSymLink | back to summary |
---|---|
public static ResourcePoolEntry createSymLink(String path, ResourcePoolEntry. Create a ResourcePoolEntry for a resource the given path and type. If the target platform supports symbolic links, it will be created as a symbolic link to the given target entry; otherwise, the ResourcePoolEntry contains the relative path to the target entry.
|
linkedTarget | back to summary |
---|---|
public default ResourcePoolEntry linkedTarget() Returns a target linked with this entry. Implementation Specification The default implementation returns
|
moduleName | back to summary |
---|---|
public String moduleName() The module name of this ResourcePoolEntry.
|
path | back to summary |
---|---|
public String path() The path of this ResourcePoolEntry.
|
type | back to summary |
---|---|
public ResourcePoolEntry. The ResourcePoolEntry's type.
|
write | back to summary |
---|---|
public default void write(OutputStream out) Write the content of this ResourcePoolEntry to an OutputStream.
|
Modifier and Type | Field and Description |
---|---|
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. | |
public static final ResourcePoolEntry. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static ResourcePoolEntry. | |
public static ResourcePoolEntry. |
CLASS_OR_RESOURCE | back to summary |
---|---|
public static final ResourcePoolEntry. |
CONFIG | back to summary |
---|---|
public static final ResourcePoolEntry. |
HEADER_FILE | back to summary |
---|---|
public static final ResourcePoolEntry. |
LEGAL_NOTICE | back to summary |
---|---|
public static final ResourcePoolEntry. |
MAN_PAGE | back to summary |
---|---|
public static final ResourcePoolEntry. |
NATIVE_CMD | back to summary |
---|---|
public static final ResourcePoolEntry. |
NATIVE_LIB | back to summary |
---|---|
public static final ResourcePoolEntry. |
TOP | back to summary |
---|---|
public static final ResourcePoolEntry. |
Type | back to summary |
---|---|
private Type() |
valueOf | back to summary |
---|---|
public static ResourcePoolEntry. |
values | back to summary |
---|---|
public static ResourcePoolEntry. |