Package cpod
Class CPODReader
java.lang.Object
cpod.CPODReader
Read CPOD data.
Note this should, as much as possible not have any PAMGuard based code.
- Author:
- Jamie Macaulay, Douglas Gillespie
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Holds an CPOD header information -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getDataSize
(CPODUtils.CPODFileType fileType) static int
getHeadSize
(CPODUtils.CPODFileType fileType) static boolean
isFileEnd
(byte[] byteData) Is it the end of the file ?static void
Test the programstatic CPODReader.CPODHeader
readHeader
(BufferedInputStream bis, CPODUtils.CPODFileType cpFileType) static CPODReader.CPODHeader
readHeader
(File cpFile)
-
Constructor Details
-
CPODReader
public CPODReader()
-
-
Method Details
-
readHeader
-
readHeader
public static CPODReader.CPODHeader readHeader(BufferedInputStream bis, CPODUtils.CPODFileType cpFileType) -
getHeadSize
-
getDataSize
-
isFileEnd
public static boolean isFileEnd(byte[] byteData) Is it the end of the file ?- Parameters:
byteData
-- Returns:
- true if all bytes == 255
-
main
Test the program- Parameters:
args
-
-