Class FileBlockReference
- java.lang.Object
-
- org.openstreetmap.osmosis.osmbinary.file.FileBlockBase
-
- org.openstreetmap.osmosis.osmbinary.file.FileBlockPosition
-
- org.openstreetmap.osmosis.osmbinary.file.FileBlockReference
-
- Direct Known Subclasses:
FileBlockHead
public class FileBlockReference extends FileBlockPosition
A FileBlockPosition that remembers what file this is so that it can simply be dereferenced
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.InputStreaminputConvenience cache for storing the input this reference is contained within so that it can be cached-
Fields inherited from class org.openstreetmap.osmosis.osmbinary.file.FileBlockPosition
datasize
-
Fields inherited from class org.openstreetmap.osmosis.osmbinary.file.FileBlockBase
indexdata, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileBlockReference(java.lang.String type, com.google.protobuf.ByteString indexdata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileBlockread()-
Methods inherited from class org.openstreetmap.osmosis.osmbinary.file.FileBlockPosition
getDatasize, read, serialize
-
Methods inherited from class org.openstreetmap.osmosis.osmbinary.file.FileBlockBase
getIndexData, getType
-
-
-
-
Method Detail
-
read
public FileBlock read() throws java.io.IOException
- Throws:
java.io.IOException
-
-