public class BinaryOWLOntologyDocumentPreamble extends Object
| Modifier and Type | Field and Description |
|---|---|
static BinaryOWLVersion |
DEFAULT_VERSION |
static int |
MAGIC_NUMBER |
| Constructor and Description |
|---|
BinaryOWLOntologyDocumentPreamble() |
BinaryOWLOntologyDocumentPreamble(DataInputStream dataInputStream) |
| Modifier and Type | Method and Description |
|---|---|
BinaryOWLVersion |
getFileFormatVersion()
Gets the version number that describes the format of the file.
|
void |
write(DataOutputStream dos)
Writes this preamble out to the specified output stream.
|
public static final int MAGIC_NUMBER
public static final BinaryOWLVersion DEFAULT_VERSION
public BinaryOWLOntologyDocumentPreamble()
public BinaryOWLOntologyDocumentPreamble(DataInputStream dataInputStream) throws IOException, BinaryOWLParseException
IOExceptionBinaryOWLParseExceptionpublic BinaryOWLVersion getFileFormatVersion()
public void write(DataOutputStream dos) throws IOException
dos - The DataOutputStream.IOException - If there was a problem writing to the specified stream.Copyright © 2015. All Rights Reserved.