|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.util.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
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.