Package com.bc.ceres.binio.binx
Class BinX
- java.lang.Object
-
- com.bc.ceres.binio.binx.BinX
-
public class BinX extends Object
Utility class used to read BinX schema files. See the BinX Project.This class is not thread-safe.
-
-
Constructor Summary
Constructors Constructor Description BinX()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getDefinition(String name)
String
getElementCountPostfix()
String
getParameter(String name)
boolean
isArrayVariableInlined()
boolean
isSingleDatasetStructInlined()
DataFormat
readDataFormat(URI uri)
DataFormat
readDataFormat(URI uri, String formatName)
void
setArrayVariableInlined(boolean arrayVariableInlined)
Type
setDefinition(String name, Type value)
void
setElementCountPostfix(String elementCountPostfix)
String
setParameter(String name, String value)
void
setSingleDatasetStructInlined(boolean singleDatasetStructInlined)
boolean
setTypeMembersInlined(String typeName, boolean b)
void
setTypeMembersInlined(Properties properties)
String
setVarNameMapping(String sourceName, String targetName)
void
setVarNameMappings(Properties properties)
-
-
-
Method Detail
-
setVarNameMappings
public void setVarNameMappings(Properties properties)
-
setTypeMembersInlined
public boolean setTypeMembersInlined(String typeName, boolean b)
-
setTypeMembersInlined
public void setTypeMembersInlined(Properties properties)
-
getElementCountPostfix
public String getElementCountPostfix()
-
setElementCountPostfix
public void setElementCountPostfix(String elementCountPostfix)
-
isSingleDatasetStructInlined
public boolean isSingleDatasetStructInlined()
-
setSingleDatasetStructInlined
public void setSingleDatasetStructInlined(boolean singleDatasetStructInlined)
-
isArrayVariableInlined
public boolean isArrayVariableInlined()
-
setArrayVariableInlined
public void setArrayVariableInlined(boolean arrayVariableInlined)
-
readDataFormat
public DataFormat readDataFormat(URI uri) throws BinXException, IOException
- Throws:
BinXException
IOException
-
readDataFormat
public DataFormat readDataFormat(URI uri, String formatName) throws BinXException, IOException
- Throws:
BinXException
IOException
-
-