Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.jdeveloper.vcs.util
Class VCSTextFileUtils

java.lang.Object
  extended by oracle.jdeveloper.vcs.util.VCSTextFileUtils

public final class VCSTextFileUtils
extends java.lang.Object

Utility class for accessing and writing simple text files.

Since:
9.0.5

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

writeTextFile

public static final void writeTextFile(java.net.URL url,
                                       java.lang.String contents)
                                throws java.io.IOException
Writes the given text string to a local file.

Parameters:
url - the location of the local file to write.
contents - the data to write to the local file. (null-capable)
Throws:
java.io.IOException

readTextFile

public static final java.lang.String readTextFile(java.net.URL url)
                                           throws java.io.IOException
Reads a text string from a local file.

Parameters:
url - the location of the local file to read.
Throws:
java.io.IOException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.