Package com.oss.util

Class SampleUtil

java.lang.Object
com.oss.util.SampleUtil

public class SampleUtil extends Object
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 4.2
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
    Number of space characters printed per indentation level.
    static int
    Indentation level.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    newline(PrintStream s, int indentlevel)
    Starts new line of output and performs indentation.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cINDENT_WIDTH

      public static int cINDENT_WIDTH
      Number of space characters printed per indentation level.
    • indentlevel

      public static int indentlevel
      Indentation level.
  • Constructor Details

    • SampleUtil

      public SampleUtil()
  • Method Details

    • newline

      public static void newline(PrintStream s, int indentlevel)
      Starts new line of output and performs indentation.
      Parameters:
      s - PrintStream where the output is directed.
      indentlevel - indentation level.