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
VDBResource
InputStream
to the resourceopenStream
in interface VDBResource
IOException
public long getSize()
VDBResource
getSize
in interface VDBResource
public String getName()
VDBResource
getName
in interface VDBResource
Copyright © 2020. All rights reserved.