|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtools.common.ioutil.JFileReader
Class for Reading from file/url. FileName is the filename with absolute path Ex: "/usr/local/file.txt" for linux
Field Summary | |
protected static java.lang.String |
m_sLineSeperator
|
Constructor Summary | |
JFileReader()
|
Method Summary | |
static byte[] |
getFileAsByte(java.io.File a_fFile)
Method getFileAsByte |
static byte[] |
getFileAsByte(java.lang.String a_sFileName)
Method getFileAsByte |
static java.util.Properties |
getFileAsProperties(java.io.File a_fFile)
Method getFileAsProperties |
static java.util.Properties |
getFileAsProperties(java.lang.String a_sFileName)
Method getFileAsProperties |
static java.lang.String |
getFileAsString(java.io.File a_fFile)
Method getFileAsString |
static java.lang.String |
getFileAsString(java.lang.String a_sFileName)
Method getFileAsString |
static java.lang.StringBuffer |
getFileAsStringBuffer(java.io.File a_fFile)
Method getFileAsStringBuffer |
static java.lang.StringBuffer |
getFileAsStringBuffer(java.lang.String a_sFileName)
Method getFileAsStringBuffer |
static java.util.Vector |
getFileAsVector(java.io.File a_fFile)
Method getFileAsVector |
static java.util.Vector |
getFileAsVector(java.lang.String a_sFileName)
Method getFileAsVector |
static byte[] |
getUrlAsByte(java.lang.String a_sURL)
Method getUrlAsByte |
static byte[] |
getUrlAsByte(java.net.URL a_URL)
Method getUrlAsByte |
static java.lang.String |
getUrlAsString(java.lang.String a_sURL)
Method getUrlAsString |
static java.lang.String |
getUrlAsString(java.net.URL a_URL)
Method getUrlAsString |
static java.lang.StringBuffer |
getUrlAsStringBuffer(java.lang.String a_sURL)
Method getUrlAsStringBuffer |
static java.lang.StringBuffer |
getUrlAsStringBuffer(java.net.URL a_URL)
Method getUrlAsStringBuffer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.lang.String m_sLineSeperator
Constructor Detail |
public JFileReader()
Method Detail |
public static byte[] getFileAsByte(java.io.File a_fFile) throws java.lang.Exception
a_fFile
- a File
java.lang.Exception
public static byte[] getFileAsByte(java.lang.String a_sFileName) throws java.lang.Exception
a_sFileName
- a String
java.lang.Exception
public static java.lang.String getFileAsString(java.io.File a_fFile) throws java.lang.Exception
a_fFile
- a File
java.lang.Exception
public static java.lang.String getFileAsString(java.lang.String a_sFileName) throws java.lang.Exception
a_sFileName
- a String
java.lang.Exception
public static java.lang.StringBuffer getFileAsStringBuffer(java.lang.String a_sFileName) throws java.lang.Exception
a_sFileName
- a String
java.lang.Exception
public static java.lang.StringBuffer getFileAsStringBuffer(java.io.File a_fFile) throws java.lang.Exception
a_fFile
- a File
java.lang.Exception
public static java.util.Vector getFileAsVector(java.io.File a_fFile) throws java.lang.Exception
a_fFile
- a File
java.lang.Exception
public static java.util.Vector getFileAsVector(java.lang.String a_sFileName) throws java.lang.Exception
a_sFileName
- a String
java.lang.Exception
public static java.util.Properties getFileAsProperties(java.io.File a_fFile) throws java.lang.Exception
a_fFile
- a File
java.lang.Exception
public static java.util.Properties getFileAsProperties(java.lang.String a_sFileName) throws java.lang.Exception
a_sFileName
- a String
java.lang.Exception
public static java.lang.StringBuffer getUrlAsStringBuffer(java.net.URL a_URL) throws java.lang.Exception
a_URL
- an URL
java.lang.Exception
public static java.lang.StringBuffer getUrlAsStringBuffer(java.lang.String a_sURL) throws java.lang.Exception
a_sURL
- a String
java.lang.Exception
public static java.lang.String getUrlAsString(java.lang.String a_sURL) throws java.lang.Exception
a_sURL
- a String
java.lang.Exception
public static java.lang.String getUrlAsString(java.net.URL a_URL) throws java.lang.Exception
a_URL
- an URL
java.lang.Exception
public static byte[] getUrlAsByte(java.net.URL a_URL) throws java.lang.Exception
a_URL
- an URL
java.lang.Exception
public static byte[] getUrlAsByte(java.lang.String a_sURL) throws java.lang.Exception
a_sURL
- a String
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |