parsers.tools
Class Converter

java.lang.Object
  |
  +--parsers.tools.Converter

public class Converter
extends java.lang.Object


Constructor Summary
Converter()
           
 
Method Summary
static java.lang.String ConvertSysPath(java.lang.String sPath)
          Converts a path to the current system path (e.g. it replaces the directory sign if needed)
static java.lang.String GetParentDIR(java.lang.String sPath)
           
static java.lang.String GetSystDIR()
           
static java.lang.String GetSystNL()
           
static boolean isJar(java.lang.String sURL)
          Returns true when class(path) is in jar-file
static int StringToInt(java.lang.String sNumber)
           
static java.lang.String UrlToPath(java.lang.String sURL)
          Converts an URL to valid system path For the JAR-file it returns the directory of the jar-file
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Converter

public Converter()
Method Detail

GetParentDIR

public static java.lang.String GetParentDIR(java.lang.String sPath)

GetSystDIR

public static java.lang.String GetSystDIR()

GetSystNL

public static java.lang.String GetSystNL()

StringToInt

public static int StringToInt(java.lang.String sNumber)

isJar

public static boolean isJar(java.lang.String sURL)
Returns true when class(path) is in jar-file

UrlToPath

public static java.lang.String UrlToPath(java.lang.String sURL)
Converts an URL to valid system path For the JAR-file it returns the directory of the jar-file

ConvertSysPath

public static java.lang.String ConvertSysPath(java.lang.String sPath)
Converts a path to the current system path (e.g. it replaces the directory sign if needed)