public class ConnectivityFileBuilder
extends java.lang.Object
| Constructor and Description |
|---|
ConnectivityFileBuilder(VfsFile file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(int dataId,
short flags,
java.lang.String explicitName,
java.lang.Iterable<java.lang.String> junctionCodes) |
void |
finish() |
static void |
generateIndexFor(VfsFile file)
This indexes an existing ConnectivityFile.
|
void |
start() |
static int |
writeHeader(java.io.DataOutputStream outie) |
static void |
writeNode(java.io.DataOutputStream outie,
int dataId,
short flags,
DynamicIntArray connections) |
public ConnectivityFileBuilder(VfsFile file) throws java.io.IOException
java.io.IOExceptionpublic void start()
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic void addNode(int dataId,
short flags,
java.lang.String explicitName,
java.lang.Iterable<java.lang.String> junctionCodes)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic static void writeNode(java.io.DataOutputStream outie,
int dataId,
short flags,
DynamicIntArray connections)
throws java.io.IOException
java.io.IOExceptionpublic void finish()
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic static int writeHeader(java.io.DataOutputStream outie)
throws java.io.IOException
java.io.IOExceptionpublic static void generateIndexFor(VfsFile file) throws java.io.IOException
java.io.IOException