org.xBaseJ
Class Util

java.lang.Object
  extended byorg.xBaseJ.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static void closexBaseJProperty()
          use this if you need to reset the property file which is usually left open
static void copyFile(String inputFile, String outputFile)
           
static boolean dontTrimFields()
          returns true if org.xBaseJ.property dontTrimFields is "true" or "yes"
static double doubleDate(DateField d)
           
static double doubleDate(String s)
           
static boolean fieldFilledWithSpaces()
          returns true if org.xBaseJ.property fieldFilled is "true" or "yes"
static String getxBaseJProperty(String inString)
           
static String normalize(String inString)
          normlizes the string to remove XML characters.
static void setxBaseJProperty(String inName, String inValue)
           
static boolean useSharedLocks()
           
static int x86(int in)
           
static long x86(long in)
           
static short x86(short in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

x86

public static long x86(long in)

x86

public static int x86(int in)

x86

public static short x86(short in)

doubleDate

public static double doubleDate(DateField d)

doubleDate

public static double doubleDate(String s)

normalize

public static String normalize(String inString)
normlizes the string to remove XML characters.

Parameters:
inString - String to be normalized
Returns:
String normalized String

getxBaseJProperty

public static String getxBaseJProperty(String inString)
                                throws IOException
Throws:
IOException

setxBaseJProperty

public static void setxBaseJProperty(String inName,
                                     String inValue)
                              throws IOException
Throws:
IOException

dontTrimFields

public static boolean dontTrimFields()
returns true if org.xBaseJ.property dontTrimFields is "true" or "yes"

Returns:
boolean false or true

fieldFilledWithSpaces

public static boolean fieldFilledWithSpaces()
returns true if org.xBaseJ.property fieldFilled is "true" or "yes"

Returns:
boolean false or true

closexBaseJProperty

public static void closexBaseJProperty()
use this if you need to reset the property file which is usually left open


copyFile

public static void copyFile(String inputFile,
                            String outputFile)
                     throws IOException
Throws:
IOException

useSharedLocks

public static boolean useSharedLocks()
Returns:
boolean true if property says use shared locks


Copyright © 1997-2007 American Coders Ltd. All Rights Reserved.