| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.vcs.util.VCSTextFileUtils
public final class VCSTextFileUtils
Utility class for accessing and writing simple text files.
| Method Summary | |
|---|---|
| static java.lang.String | readTextFile(java.net.URL url)Reads a text string from a local file. | 
| static void | writeTextFile(java.net.URL url,
              java.lang.String contents)Writes the given text string to a local file. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static final void writeTextFile(java.net.URL url,
                                       java.lang.String contents)
                                throws java.io.IOException
url - the location of the local file to write.contents - the data to write to the local file. (null-capable)
java.io.IOException
public static final java.lang.String readTextFile(java.net.URL url)
                                           throws java.io.IOException
url - the location of the local file to read.
java.io.IOException| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||