|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.io.res.type.ram.RamResourceProviderOld
public final class RamResourceProviderOld
Resource Provider for ram resource
Constructor Summary | |
---|---|
RamResourceProviderOld()
|
Method Summary | |
---|---|
Map |
getArguments()
returns the arguments defined for this resource |
Resource |
getResource(String path)
return a resource that match given path |
String |
getScheme()
returns the scheme of the resource |
ResourceProvider |
init(String scheme,
Map arguments)
initalize ram resource |
boolean |
isAttributesSupported()
returns if the resource support attributes for his resources |
boolean |
isCaseSensitive()
returns if the resources of the provider are case-sensitive or not |
boolean |
isModeSupported()
returns if the resource support mode for his resources |
void |
lock(Resource res)
|
void |
read(Resource res)
|
void |
setResources(Resources resources)
|
long |
sizeOf()
return the size of the object |
void |
unlock(Resource res)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RamResourceProviderOld()
Method Detail |
---|
public ResourceProvider init(String scheme, Map arguments)
init
in interface ResourceProvider
scheme
- arguments
-
public Resource getResource(String path)
ResourceProvider
getResource
in interface ResourceProvider
public String getScheme()
ResourceProvider
getScheme
in interface ResourceProvider
public void setResources(Resources resources)
setResources
in interface ResourceProvider
public void lock(Resource res) throws IOException
lock
in interface ResourceProvider
IOException
public void unlock(Resource res)
unlock
in interface ResourceProvider
public void read(Resource res) throws IOException
read
in interface ResourceProvider
IOException
public boolean isAttributesSupported()
ResourceProvider
isAttributesSupported
in interface ResourceProvider
public boolean isCaseSensitive()
ResourceProvider
isCaseSensitive
in interface ResourceProvider
public boolean isModeSupported()
ResourceProvider
isModeSupported
in interface ResourceProvider
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
public Map getArguments()
ResourceProvider
getArguments
in interface ResourceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |