public static class RMByteSource.BasicSource extends RMByteSource.AbstractSource
RMByteSource.AbstractSource, RMByteSource.BasicSource, RMByteSource.ClassSource, RMByteSource.Factory, RMByteSource.FileSource, RMByteSource.URLSource
Constructor and Description |
---|
RMByteSource.BasicSource(byte[] theBytes)
Creates a new basic source from an bytes.
|
RMByteSource.BasicSource(java.io.InputStream aStream)
Creates a new basic source from an input stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSaveToSource()
Returns whether source can save.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
void |
refresh()
Clears cached bytes so they can be reloaded from real source.
|
void |
saveToSource()
Implement save - not implemented.
|
public RMByteSource.BasicSource(java.io.InputStream aStream)
public RMByteSource.BasicSource(byte[] theBytes)
public void refresh()
public boolean canSaveToSource()
public void saveToSource() throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object anObj)
equals
in class java.lang.Object