public class ReaderUtil extends Object
Constructor and Description |
---|
ReaderUtil() |
Modifier and Type | Method and Description |
---|---|
static FileHeader |
parseHeader(CompactReader reader) |
static TLongList |
parseNodeIds(CompactReader reader,
FileBlock block) |
static List<Node> |
parseNodes(CompactReader reader,
FileBlock block,
boolean fetchTags,
boolean hasMetadata,
boolean fetchMetadata) |
static TLongList |
parseRelationIds(CompactReader reader,
FileBlock block) |
static List<Relation> |
parseRelations(CompactReader reader,
FileBlock block,
boolean fetchTags,
boolean hasMetadata,
boolean fetchMetadata) |
static TLongList |
parseWayIds(CompactReader reader,
FileBlock block) |
static List<Way> |
parseWays(CompactReader reader,
FileBlock block,
boolean fetchTags,
boolean hasMetadata,
boolean fetchMetadata) |
public static FileHeader parseHeader(CompactReader reader) throws IOException
IOException
public static List<Node> parseNodes(CompactReader reader, FileBlock block, boolean fetchTags, boolean hasMetadata, boolean fetchMetadata) throws IOException
IOException
public static TLongList parseNodeIds(CompactReader reader, FileBlock block) throws IOException
IOException
public static List<Way> parseWays(CompactReader reader, FileBlock block, boolean fetchTags, boolean hasMetadata, boolean fetchMetadata) throws IOException
IOException
public static TLongList parseWayIds(CompactReader reader, FileBlock block) throws IOException
IOException
public static List<Relation> parseRelations(CompactReader reader, FileBlock block, boolean fetchTags, boolean hasMetadata, boolean fetchMetadata) throws IOException
IOException
public static TLongList parseRelationIds(CompactReader reader, FileBlock block) throws IOException
IOException