public static class TextFileOverlay.TextFile extends DataObject implements Retirable, TextProvider
DEBUG, recordMAX_IDENTIFIER| Modifier | Constructor and Description |
|---|---|
protected |
TextFile(Repository.Record r,
java.net.URL base) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRetire()
Is this object in a state that allows it to be retired.
|
java.lang.String |
getData()
get a string representation of the current data balue
|
java.lang.String |
getGroup() |
java.lang.String |
getIdentifier(int max)
Generate Identifier with advisory max length.
|
java.lang.String |
getName() |
java.io.InputStream |
getResourceStream()
Get the underlying resource as a stream
|
java.lang.String |
getResourceString()
Get he underlying resoruce as a String
|
java.lang.String |
getText()
Get the override text.
|
boolean |
hasData()
Is there data for this resource
|
void |
retire()
retire this object.
|
void |
setGroup(java.lang.String group) |
void |
setName(java.lang.String name) |
void |
setText(java.lang.String text) |
addToMap, addToMap, addToMap, commit, delete, empty, equals, formUpdate, getContext, getDatabaseService, getFactoryTag, getID, getIdentifier, getLogger, getMap, getMap, getOwningFactory, getRecord, getRecord, getRecord, getSQLContext, getUniqueIdName, hashCode, isLocked, lock, post_commit, postCreate, pre_commit, release, setContents, setDirty, setMap, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDataReaderprotected TextFile(Repository.Record r, java.net.URL base)
public boolean hasData()
hasData in interface TextProviderpublic java.io.InputStream getResourceStream()
public java.lang.String getName()
public java.lang.String getGroup()
public java.lang.String getText()
public void setText(java.lang.String text)
public void setGroup(java.lang.String group)
public void setName(java.lang.String name)
public java.lang.String getResourceString()
public java.lang.String getData()
getData in interface TextProviderpublic java.lang.String getIdentifier(int max)
IdentifiedgetIdentifier in interface IdentifiedgetIdentifier in class DataObjectmax - advisory max lengthpublic boolean canRetire()
Retirable