railo.commons.io.res.type.datasource
Class Attr
java.lang.Object
railo.commons.io.res.type.datasource.Attr
public class Attr
- extends Object
Constructor Summary |
Attr(int id,
String name,
String parent,
boolean exists,
int type,
int size,
long lastModified,
short mode,
short attributes,
int data)
|
TYPE_DIRECTORY
public static final int TYPE_DIRECTORY
- See Also:
- Constant Field Values
TYPE_FILE
public static final int TYPE_FILE
- See Also:
- Constant Field Values
TYPE_LINK
public static final int TYPE_LINK
- See Also:
- Constant Field Values
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
Attr
public Attr(int id,
String name,
String parent,
boolean exists,
int type,
int size,
long lastModified,
short mode,
short attributes,
int data)
getData
public int getData()
- Returns:
- the data
notExists
public static Attr notExists(String name,
String parent)
getLastModified
public long getLastModified()
- Returns:
- the lastModified
getId
public int getId()
- Returns:
- the id
getName
public String getName()
- Returns:
- the name
getParent
public String getParent()
- Returns:
- the parent
getMode
public short getMode()
- Returns:
- the mode
getAttributes
public short getAttributes()
- Returns:
- the attributes
exists
public boolean exists()
isFile
public boolean isFile()
isDirectory
public boolean isDirectory()
size
public int size()
timestamp
public long timestamp()
getType
public int getType()
- Returns:
- the type
Copyright © 2012 Railo