|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.io.res.type.cache.CacheResourceCore
public final class CacheResourceCore
Core of a Ram Resource, holds the concrete data for a existing resource
Field Summary | |
---|---|
static int |
TYPE_DIRECTORY
Directory Resource |
static int |
TYPE_FILE
Directory Resource |
Constructor Summary | |
---|---|
CacheResourceCore(int type,
String path,
String name)
Konstruktor |
Method Summary | |
---|---|
int |
getAttributes()
|
byte[] |
getData()
Gibt den Feldnamen data zur�ck. |
long |
getLastModified()
Gibt den Feldnamen lastModified zur�ck. |
int |
getMode()
|
String |
getName()
Gibt den Feldnamen name zur�ck. |
String |
getPath()
|
int |
getType()
Gibt den Feldnamen type zur�ck. |
void |
remove()
|
void |
setAttributes(int attributes)
|
void |
setData(byte[] data,
boolean append)
Setzt den Feldnamen data. |
void |
setLastModified(long lastModified)
Setzt den Feldnamen lastModified. |
void |
setMode(int mode)
|
void |
setName(String name)
Setzt den Feldnamen name. |
void |
setType(int type)
Setzt den Feldnamen type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_DIRECTORY
public static final int TYPE_FILE
Constructor Detail |
---|
public CacheResourceCore(int type, String path, String name)
parent
- type
- name
- caseSensitive
- Method Detail |
---|
public long getLastModified()
public void setLastModified(long lastModified)
lastModified
- lastModifiedpublic byte[] getData()
public void setData(byte[] data, boolean append)
data
- dataappend
- public String getName()
public void setName(String name)
name
- namepublic String getPath()
public int getType()
public void setType(int type)
type
- typepublic int getMode()
public void setMode(int mode)
mode
- the mode to setpublic int getAttributes()
public void setAttributes(int attributes)
public void remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |