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

E13403-08

oracle.javatools.patch
Class PatchFormat

java.lang.Object
  extended by oracle.javatools.patch.PatchFormat

public class PatchFormat
extends java.lang.Object

PatchFormat is a class that formats/parses patch data to/from their textual and object model forms.

Since:
10.1.3.0.3

Constructor Summary
PatchFormat()
           
 
Method Summary
 java.lang.String format(PatchModel model)
          Formats the given PatchModel to Unified-format patch text.
 java.lang.String getEncoding()
           
 PatchModel parse(java.lang.String source)
          Parses the given Unified-format patch text to a PatchModel.
 void setEncoding(java.lang.String charsetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchFormat

public PatchFormat()
Method Detail

setEncoding

public void setEncoding(java.lang.String charsetName)

getEncoding

public java.lang.String getEncoding()

format

public java.lang.String format(PatchModel model)
Formats the given PatchModel to Unified-format patch text.

Parameters:
model - the patch model.
Returns:
the Unified-format patch text.

parse

public PatchModel parse(java.lang.String source)
                 throws java.text.ParseException
Parses the given Unified-format patch text to a PatchModel.

Parameters:
source - the Unified-format patch text.
Returns:
the patch model.
Throws:
java.text.ParseException - if the patch text contains syntax errors.

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.