public class BufrCdmIndex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
bufrFilename |
long |
end |
java.lang.String |
idxFilename |
static java.lang.String |
MAGIC_START |
static java.lang.String |
NCX_IDX |
long |
nobs |
BufrCdmIndexProto.Field |
root |
long |
start |
java.util.List<BufrCdmIndexProto.Station> |
stations |
Constructor and Description |
---|
BufrCdmIndex() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
calcIndexFile(java.lang.String bufrFilename) |
protected boolean |
readIndex(RandomAccessFile raf) |
static BufrCdmIndex |
readIndex(java.lang.String indexFilename) |
void |
showIndex(java.util.Formatter f) |
static boolean |
writeIndex(BufrCdmIndex index,
BufrField root,
java.io.File indexFile) |
static boolean |
writeIndex(java.lang.String bufrFilename,
BufrConfig config,
java.io.File idxFile) |
public static final java.lang.String MAGIC_START
public static final java.lang.String NCX_IDX
public java.lang.String idxFilename
public java.lang.String bufrFilename
public BufrCdmIndexProto.Field root
public java.util.List<BufrCdmIndexProto.Station> stations
public long start
public long end
public long nobs
public static java.io.File calcIndexFile(java.lang.String bufrFilename)
public static boolean writeIndex(java.lang.String bufrFilename, BufrConfig config, java.io.File idxFile) throws java.io.IOException
java.io.IOException
public static BufrCdmIndex readIndex(java.lang.String indexFilename) throws java.io.IOException
java.io.IOException
public static boolean writeIndex(BufrCdmIndex index, BufrField root, java.io.File indexFile) throws java.io.IOException
java.io.IOException
protected boolean readIndex(RandomAccessFile raf) throws java.io.IOException
java.io.IOException
public void showIndex(java.util.Formatter f)