jimm.twice.ice
Class IceItem
java.lang.Object
jimm.twice.ice.IceItem
- public class IceItem
- extends java.lang.Object
ICE ice-item or ice-item-ref attributes are used often enough that it's
nice to have an objectified representation. This is a container for
attribute values. It doesn't hold all possible attributes, just the
ones we are interested in.
- Author:
- Jim Menard, jimm@io.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ENCODING_BASE64
public static final int ENCODING_BASE64
- See Also:
- Constant Field Values
ENCODING_RAW
public static final int ENCODING_RAW
- See Also:
- Constant Field Values
relativeFilePath
protected java.lang.String relativeFilePath
encoding
protected int encoding
contentType
protected java.lang.String contentType
name
protected java.lang.String name
url
protected java.lang.String url
getRelativeFilePath
public java.lang.String getRelativeFilePath()
getEncoding
public int getEncoding()
getContentType
public java.lang.String getContentType()
getURL
public java.lang.String getURL()
isIceItem
public boolean isIceItem()
- Returns true if this is an ice-item (and not an ice-item-ref). Checks
the URL attribute and returns
true
if the URL is
null
- Returns:
true
if this represents an ice-item,
false
if this represents an ice-item-ref
toString
public java.lang.String toString()