SAP2Java 1.0.3 API

com.sap.bapi.io
Class Filer

java.lang.Object
  |
  +--com.sap.bapi.io.Filer

public class Filer
extends java.lang.Object

This class is used to create the java classes on the File System.


Field Summary
static char closedBrace
          Character constant for closed-brace(})
static char dot
          Character constant for dot(.)
static char openBrace
          Character constant for open-brace({)
static java.lang.String packName
          String constant for package
static char semiColon
          Character constant for semi-colon (;)
static char space
          Character constant for space
 
Constructor Summary
Filer(java.lang.String fname)
          Creates Files Method Filer.
 
Method Summary
 void close()
          Close the file stream.
static java.lang.String getDirName()
          Returns the directory name.
static java.io.File[] getFile()
          Returns an array of File objects Method getFile.
static java.lang.String getPackageName()
          Returns the name of the package.
static void setBasePath(java.lang.String dName)
          Sets the base path for the files.
static void setPackageName(java.lang.String p)
          Sets the name of the package Method setPackageName.
 void writeBlankLine()
          Create a blank line in the source file.
 void writeLine(java.lang.String args)
          Writes the string on to the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

semiColon

public static final char semiColon
Character constant for semi-colon (;)

See Also:
Constant Field Values

openBrace

public static final char openBrace
Character constant for open-brace({)

See Also:
Constant Field Values

closedBrace

public static final char closedBrace
Character constant for closed-brace(})

See Also:
Constant Field Values

dot

public static final char dot
Character constant for dot(.)

See Also:
Constant Field Values

space

public static final char space
Character constant for space

See Also:
Constant Field Values

packName

public static final java.lang.String packName
String constant for package

See Also:
Constant Field Values
Constructor Detail

Filer

public Filer(java.lang.String fname)
Creates Files Method Filer.

Parameters:
fname -
Method Detail

getFile

public static java.io.File[] getFile()
Returns an array of File objects Method getFile.

Returns:
File[]

writeLine

public void writeLine(java.lang.String args)
Writes the string on to the file. Method writeLine.

Parameters:
args -

writeBlankLine

public void writeBlankLine()
Create a blank line in the source file. Method writeBlankLine.


close

public void close()
Close the file stream. Method close.


setBasePath

public static void setBasePath(java.lang.String dName)
Sets the base path for the files. Method setBasePath.

Parameters:
dName -

getPackageName

public static java.lang.String getPackageName()
Returns the name of the package. Method getPackageName.

Returns:
String

getDirName

public static java.lang.String getDirName()
Returns the directory name. Method getDirName.

Returns:
String

setPackageName

public static void setPackageName(java.lang.String p)
Sets the name of the package Method setPackageName.

Parameters:
p -

SAP2Java 1.0.3 API

This is a partial documentation. Send comments to-- sid_bhat@hotmail.com