public static class VDBResources.Resource extends Object implements VDBResource
| Constructor and Description |
|---|
Resource(VirtualFile file) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the resource name.
|
long |
getSize()
Get the size in bytes
|
InputStream |
openStream()
Open an
InputStream to the resource |
public Resource(VirtualFile file)
public InputStream openStream() throws IOException
VDBResourceInputStream to the resourceopenStream in interface VDBResourceIOExceptionpublic long getSize()
VDBResourcegetSize in interface VDBResourcepublic String getName()
VDBResourcegetName in interface VDBResourceCopyright © 2020. All rights reserved.