Package com.oss.util
Class SampleUtil
java.lang.Object
com.oss.util.SampleUtil
This class is used as base class for compiler-generated sample code
classes. It contains "newline" utility method that is used by sample code
printValue() methods.
- Since:
- ASN.1/Java 7.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Number of space characters printed per indentation level.static int
Indentation level. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
newline
(PrintStream s, int indentlevel) Starts new line of output and performs indentation.
-
Field Details
-
cINDENT_WIDTH
public static int cINDENT_WIDTHNumber of space characters printed per indentation level. -
indentlevel
public static int indentlevelIndentation level.
-
-
Constructor Details
-
SampleUtil
public SampleUtil()
-
-
Method Details
-
newline
Starts new line of output and performs indentation.- Parameters:
s
- PrintStream where the output is directed.indentlevel
- indentation level.
-