Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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