Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class s2iWriter

    java.lang.Object
      |
      +--s2iWriter

public class s2iWriter
extends java.lang.Object

Constructor Summary
`s2iWriter()`

Method Summary
`private java.lang.String` | `getVal(java.lang.String str)` This function returns "NA" as the value for an empty string else the string is returned.
`static void` | `main(java.lang.String[] args)`
`private boolean` | `nonEmpty(java.lang.String str)` This function verifies that a given string is non-empty
`void` | `outputS2i(java.lang.String fileName, s2iData data, boolean putCmt)`

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Constructor Detail

### s2iWriter

    public s2iWriter()

Method Detail

### nonEmpty

    private boolean nonEmpty(java.lang.String str)

  This function verifies that a given string is non-empty
  Parameters:
    `str` - the string to be verified

### getVal

    private java.lang.String getVal(java.lang.String str)

  This function returns "NA" as the value for an empty string else the string is returned.
  Parameters:
    `str` - the string to be evaluated
  Returns:
    str non-empty string returned

### outputS2i

    public void outputS2i(java.lang.String fileName,
                          s2iData data,
                          boolean putCmt)
                   throws java.io.IOException

### main

    public static void main(java.lang.String[] args)

Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD