public abstract static class RMByteSource.AbstractSource extends java.lang.Object implements RMByteSource
RMByteSource.AbstractSource, RMByteSource.BasicSource, RMByteSource.ClassSource, RMByteSource.Factory, RMByteSource.FileSource, RMByteSource.URLSource
Constructor and Description |
---|
RMByteSource.AbstractSource() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
createInputStream()
Creates the input stream from source.
|
byte[] |
getBytes()
Returns the source bytes.
|
java.lang.String |
getName()
Returns the name of the source.
|
java.lang.String |
getPath()
Returns the path of the source.
|
java.lang.String |
getURL()
Returns the URL of the source.
|
void |
setBytes(byte[] theBytes)
Sets the bytes.
|
void |
setName(java.lang.String aName)
Sets the name of the source.
|
void |
setPath(java.lang.String aPath)
Sets the path of the source.
|
void |
setURL(java.lang.String aURL)
Sets the URL of the source.
|
java.lang.String |
toString()
Standard toString implementation.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
canSaveToSource, refresh, saveToSource
public java.lang.String getName()
getName
in interface RMByteSource
public void setName(java.lang.String aName)
public java.lang.String getPath()
getPath
in interface RMByteSource
public void setPath(java.lang.String aPath)
public java.lang.String getURL()
getURL
in interface RMByteSource
public void setURL(java.lang.String aURL)
public byte[] getBytes()
getBytes
in interface RMByteSource
public void setBytes(byte[] theBytes)
setBytes
in interface RMByteSource
public java.io.InputStream createInputStream()
createInputStream
in interface RMByteSource
public java.lang.String toString()
toString
in class java.lang.Object