public class ConfigurationFileExport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
DOCSIS_PKTCBL |
static java.lang.Integer |
DOCSIS_VER_10 |
static java.lang.Integer |
DOCSIS_VER_11 |
static java.lang.Integer |
DOCSIS_VER_20 |
static java.lang.Integer |
DOCSIS_VER_30 |
static java.lang.Integer |
DOCSIS_VER_31 |
static java.lang.Integer |
DPOE_VER_10 |
static java.lang.Integer |
DPOE_VER_20 |
java.lang.String |
END_OF_CODE_BLOCK |
static java.lang.Boolean |
EXPORT_DEFAULT_TLV |
static java.lang.Boolean |
EXPORT_FOUND_TLV |
static java.lang.Integer |
PKT_CBL_VER_10 |
static java.lang.Integer |
PKT_CBL_VER_15 |
static java.lang.Integer |
PKT_CBL_VER_20 |
| Constructor and Description |
|---|
ConfigurationFileExport(ConfigurationFile cfConfigurationFile) |
ConfigurationFileExport(java.io.File fTLV)
Deprecated.
- This is no longer supported but will work Only support DOCSIS and PacketCable
|
ConfigurationFileExport(java.io.File fTLV,
int iConfigurationFileType) |
ConfigurationFileExport(int iConfigurationFileType)
This will only produce the Full Default Configuration Options
|
ConfigurationFileExport(TlvBuilder tbTLV)
Deprecated.
- This is no longer supported but will work Only support DOCSIS and PacketCable
|
ConfigurationFileExport(TlvBuilder tbTLV,
boolean boolStripFinalize)
Deprecated.
- This is no longer supported but will work Only support DOCSIS and PacketCable
|
ConfigurationFileExport(TlvBuilder tbTLV,
int iConfigurationFileType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConfigurationFileType() |
TlvBuilder |
getTlvBuilder() |
java.lang.String |
getTlvDefintion(java.lang.String sTlvDotNotation)
Example: TLV Dot Notation: 25.1.2
|
org.json.JSONArray |
getTopLevelTLVJSON(int iTlvType) |
void |
setExportVerbose(boolean boolVerboseExport)
Deprecated.
|
java.util.Map<java.lang.Integer,java.lang.String> |
toHex() |
java.lang.String |
toPrettyPrint(boolean boolIncludeDefaultTLV) |
java.lang.String |
toPrettyPrint(int iIndentation)
Deprecated.
|
boolean |
writeToDisk(java.io.File fOutput) |
public final java.lang.String END_OF_CODE_BLOCK
public static final java.lang.Integer DOCSIS_PKTCBL
public static final java.lang.Integer DOCSIS_VER_10
public static final java.lang.Integer DOCSIS_VER_11
public static final java.lang.Integer DOCSIS_VER_20
public static final java.lang.Integer DOCSIS_VER_30
public static final java.lang.Integer DOCSIS_VER_31
public static final java.lang.Integer PKT_CBL_VER_10
public static final java.lang.Integer PKT_CBL_VER_15
public static final java.lang.Integer PKT_CBL_VER_20
public static final java.lang.Integer DPOE_VER_10
public static final java.lang.Integer DPOE_VER_20
public static final java.lang.Boolean EXPORT_DEFAULT_TLV
public static final java.lang.Boolean EXPORT_FOUND_TLV
public ConfigurationFileExport(java.io.File fTLV)
fTLV - - Configuration File - Only support DOCSIS and PacketCablepublic ConfigurationFileExport(java.io.File fTLV,
int iConfigurationFileType)
fTLV - - Will Support all Configuration file Types: DOCSIS, PacketCable and DPoEiConfigurationFileType - - Set Configuration Type via Static FIELDSpublic ConfigurationFileExport(TlvBuilder tbTLV)
tbTLV - - Will ONLY Support Configuration file Types: DOCSIS and PacketCablepublic ConfigurationFileExport(TlvBuilder tbTLV, int iConfigurationFileType)
tbTLV - iConfigurationFileType - public ConfigurationFileExport(TlvBuilder tbTLV, boolean boolStripFinalize)
tbTLV - boolStripFinalize - booleanpublic ConfigurationFileExport(ConfigurationFile cfConfigurationFile)
cfConfigurationFile - - Will Support all Configuration file Types: DOCSIS, PacketCable and DPoEpublic ConfigurationFileExport(int iConfigurationFileType)
iConfigurationFileType - - Will Support all Configuration file Types: DOCSIS, PacketCable and DPoE - Set Configuration Type via Static FIELDpublic java.lang.String toPrettyPrint(int iIndentation)
iIndentation - public java.lang.String toPrettyPrint(boolean boolIncludeDefaultTLV)
boolIncludeDefaultTLV - = True == will include default TLV if no value is foundpublic java.util.Map<java.lang.Integer,java.lang.String> toHex()
public TlvBuilder getTlvBuilder() throws TlvException
TlvExceptionpublic java.lang.String getTlvDefintion(java.lang.String sTlvDotNotation)
sTlvDotNotation - public org.json.JSONArray getTopLevelTLVJSON(int iTlvType)
iTlvType - public boolean writeToDisk(java.io.File fOutput)
fOutput - public int getConfigurationFileType()
public void setExportVerbose(boolean boolVerboseExport)
boolVerboseExport -