private abstract static class Memoizer.RandomAccessDeser extends 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() |
String |
loadReleaseVersion() |
String |
loadRevision() |
void |
loadStart(File memoFile) |
void |
loadStop() |
Integer |
loadVersion() |
protected abstract IFormatReader |
readerFromBytes(Class<IFormatReader> c,
byte[] rArr) |
void |
saveReader(IFormatReader reader) |
void |
saveReleaseVersion(String version) |
void |
saveRevision(String revision) |
void |
saveStart(File tempFile) |
void |
saveStop() |
void |
saveVersion(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(File memoFile) throws IOException
loadStart
in interface Memoizer.Deser
IOException
public Integer loadVersion() throws IOException
loadVersion
in interface Memoizer.Deser
IOException
public String loadReleaseVersion() throws IOException
loadReleaseVersion
in interface Memoizer.Deser
IOException
public String loadRevision() throws IOException
loadRevision
in interface Memoizer.Deser
IOException
public IFormatReader loadReader() throws IOException, ClassNotFoundException
loadReader
in interface Memoizer.Deser
IOException
ClassNotFoundException
protected abstract IFormatReader readerFromBytes(Class<IFormatReader> c, byte[] rArr) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void loadStop() throws IOException
loadStop
in interface Memoizer.Deser
IOException
public void saveStart(File tempFile) throws IOException
saveStart
in interface Memoizer.Deser
IOException
public void saveVersion(Integer version) throws IOException
saveVersion
in interface Memoizer.Deser
IOException
public void saveReleaseVersion(String version) throws IOException
saveReleaseVersion
in interface Memoizer.Deser
IOException
public void saveRevision(String revision) throws IOException
saveRevision
in interface Memoizer.Deser
IOException
public void saveReader(IFormatReader reader) throws IOException
saveReader
in interface Memoizer.Deser
IOException
protected abstract byte[] bytesFromReader(IFormatReader reader) throws IOException
IOException
public void saveStop() throws IOException
saveStop
in interface Memoizer.Deser
IOException
Copyright © 2017 Open Microscopy Environment