private abstract static class Memoizer.RandomAccessDeser extends java.lang.Object implements Memoizer.Deser
Memoizer.Deser
classes for libraries working solely with byte arrays.Modifier and Type | Field and Description |
---|---|
(package private) loci.common.RandomAccessInputStream |
loadStream |
(package private) loci.common.RandomAccessOutputStream |
saveStream |
Modifier | Constructor and Description |
---|---|
private |
RandomAccessDeser() |
Modifier and Type | Method and Description |
---|---|
protected abstract byte[] |
bytesFromReader(IFormatReader reader) |
IFormatReader |
loadReader() |
java.lang.String |
loadReleaseVersion() |
java.lang.String |
loadRevision() |
void |
loadStart(java.io.File memoFile) |
void |
loadStop() |
java.lang.Integer |
loadVersion() |
protected abstract IFormatReader |
readerFromBytes(java.lang.Class<IFormatReader> c,
byte[] rArr) |
void |
saveReader(IFormatReader reader) |
void |
saveReleaseVersion(java.lang.String version) |
void |
saveRevision(java.lang.String revision) |
void |
saveStart(java.io.File tempFile) |
void |
saveStop() |
void |
saveVersion(java.lang.Integer version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
loci.common.RandomAccessInputStream loadStream
loci.common.RandomAccessOutputStream saveStream
public void loadStart(java.io.File memoFile) throws java.io.IOException
loadStart
in interface Memoizer.Deser
java.io.IOException
public java.lang.Integer loadVersion() throws java.io.IOException
loadVersion
in interface Memoizer.Deser
java.io.IOException
public java.lang.String loadReleaseVersion() throws java.io.IOException
loadReleaseVersion
in interface Memoizer.Deser
java.io.IOException
public java.lang.String loadRevision() throws java.io.IOException
loadRevision
in interface Memoizer.Deser
java.io.IOException
public IFormatReader loadReader() throws java.io.IOException, java.lang.ClassNotFoundException
loadReader
in interface Memoizer.Deser
java.io.IOException
java.lang.ClassNotFoundException
protected abstract IFormatReader readerFromBytes(java.lang.Class<IFormatReader> c, byte[] rArr) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void loadStop() throws java.io.IOException
loadStop
in interface Memoizer.Deser
java.io.IOException
public void saveStart(java.io.File tempFile) throws java.io.IOException
saveStart
in interface Memoizer.Deser
java.io.IOException
public void saveVersion(java.lang.Integer version) throws java.io.IOException
saveVersion
in interface Memoizer.Deser
java.io.IOException
public void saveReleaseVersion(java.lang.String version) throws java.io.IOException
saveReleaseVersion
in interface Memoizer.Deser
java.io.IOException
public void saveRevision(java.lang.String revision) throws java.io.IOException
saveRevision
in interface Memoizer.Deser
java.io.IOException
public void saveReader(IFormatReader reader) throws java.io.IOException
saveReader
in interface Memoizer.Deser
java.io.IOException
protected abstract byte[] bytesFromReader(IFormatReader reader) throws java.io.IOException
java.io.IOException
public void saveStop() throws java.io.IOException
saveStop
in interface Memoizer.Deser
java.io.IOException
Copyright © 2017 Open Microscopy Environment