Package org.locationtech.proj4j.datum
Class NTV1
- java.lang.Object
-
- org.locationtech.proj4j.datum.NTV1
-
public final class NTV1 extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NTV1()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static boolean
containsAt(byte[] needle, byte[] haystack, int offset)
private static double
doubleFromBytes(byte[] b, int offset)
static Grid.ConversionTable
init(java.io.DataInputStream definition)
private static int
intFromBytes(byte[] b, int offset)
static void
load(java.io.DataInputStream definition, Grid grid)
static boolean
testHeader(byte[] header)
-
-
-
Method Detail
-
testHeader
public static boolean testHeader(byte[] header)
-
init
public static Grid.ConversionTable init(java.io.DataInputStream definition) throws java.io.IOException
- Throws:
java.io.IOException
-
load
public static void load(java.io.DataInputStream definition, Grid grid) throws java.io.IOException
- Throws:
java.io.IOException
-
containsAt
private static boolean containsAt(byte[] needle, byte[] haystack, int offset)
-
doubleFromBytes
private static double doubleFromBytes(byte[] b, int offset)
-
intFromBytes
private static int intFromBytes(byte[] b, int offset)
-
-