public class BinDescriptor extends java.lang.Object implements ClassIdentifiers
Modifier and Type | Field and Description |
---|---|
static int |
EXPLICIT_FORM |
ExplicitBinDescriptor |
explicitForm |
static int |
IMPLICIT_FORM |
ImplicitBinDescriptor |
implicitForm |
static int |
WILDCARD |
EXTENDED_PRECINCT, EXTENDED_TILE, MAIN_HEADER, METADATA, PRECINCT, TILE, TILE_HEADER
Constructor and Description |
---|
BinDescriptor(ExplicitBinDescriptor explicitForm)
Constructor.
|
BinDescriptor(ImplicitBinDescriptor implicitForm)
Constructor based on the
implicit form . |
BinDescriptor(int form)
Constructor.
|
BinDescriptor(int firstTilePos,
int lastTilePos,
int firstComponentPos,
int lastComponentPos,
int firstResolutionLevelPos,
int lastResolutionLevelPos,
int firstPrecinctPos,
int lastPrecinctPos,
int numberOfLayers)
Constructor based on the implicit form.
|
BinDescriptor(int classIdentifier,
long inClassIdentifier,
int numberOfLayers,
int numberOfBytes)
Constructor based on the explicit form.
|
public ExplicitBinDescriptor explicitForm
public ImplicitBinDescriptor implicitForm
public static final int EXPLICIT_FORM
public static final int IMPLICIT_FORM
public static final int WILDCARD
public BinDescriptor(int form)
form
- allowed values are EXPLICIT_FORM
or IMPLICIT_FORM
.public BinDescriptor(ExplicitBinDescriptor explicitForm)
explicitForm
- definition in explicitForm
.public BinDescriptor(int classIdentifier, long inClassIdentifier, int numberOfLayers, int numberOfBytes)
classIdentifier
- definition in ExplicitBinDescriptor.classIdentifier
.inClassIdentifier
- definition in ExplicitBinDescriptor.inClassIdentifier
.numberOfLayers
- definition in ExplicitBinDescriptor.numberOfLayers
numberOfBytes
- definition in ExplicitBinDescriptor.numberOfBytes
.public BinDescriptor(ImplicitBinDescriptor implicitForm)
implicit form
.implicitForm
- definition in implicitForm
.public BinDescriptor(int firstTilePos, int lastTilePos, int firstComponentPos, int lastComponentPos, int firstResolutionLevelPos, int lastResolutionLevelPos, int firstPrecinctPos, int lastPrecinctPos, int numberOfLayers)
firstTilePos
- definition in ImplicitBinDescriptor.firstTilePos
.lastTilePos
- definition in ImplicitBinDescriptor.lastTilePos
.firstComponentPos
- definition in ImplicitBinDescriptor.firstComponentPos
.lastComponentPos
- definition in ImplicitBinDescriptor.lastComponentPos
.firstResolutionLevelPos
- definition in ImplicitBinDescriptor.firstResolutionLevelPos
.lastResolutionLevelPos
- definition in ImplicitBinDescriptor.lastResolutionLevelPos
.firstPrecinctPos
- definition in ImplicitBinDescriptor.firstPrecinctPos
.lastPrecinctPos
- definition in ImplicitBinDescriptor.lastPrecinctPos
.numberOfLayers
- definition in ImplicitBinDescriptor.numberOfLayers
.public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void list(java.io.PrintStream out)
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)