public final class CacheResourceCore extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_DIRECTORY
Directory Resource
|
static int |
TYPE_FILE
Directory Resource
|
Constructor and Description |
---|
CacheResourceCore(int type,
String path,
String name)
Konstruktor
|
Modifier and Type | Method and Description |
---|---|
int |
getAttributes() |
byte[] |
getData()
Gibt den Feldnamen data zurueck.
|
long |
getLastModified()
Gibt den Feldnamen lastModified zurueck.
|
int |
getMode() |
String |
getName()
Gibt den Feldnamen name zurueck.
|
String |
getPath() |
int |
getType()
Gibt den Feldnamen type zurueck.
|
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.
|
public static final int TYPE_DIRECTORY
public static final int TYPE_FILE
public CacheResourceCore(int type, String path, String name)
parent
- type
- name
- caseSensitive
- public long getLastModified()
public void setLastModified(long lastModified)
lastModified
- lastModifiedpublic byte[] getData()
public void setData(byte[] data, boolean append)
data
- dataappend
- 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()
Copyright © 2015 Lucee