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

E13403-08

oracle.javatools.resourcebundle
Class ResourceBundleOperationResult

java.lang.Object
  extended by oracle.javatools.resourcebundle.ResourceBundleOperationResult

public final class ResourceBundleOperationResult
extends java.lang.Object

Provides the result of a ResourceBundle operation that is more complicated than a simple boolean.


Constructor Summary
ResourceBundleOperationResult(boolean result, java.lang.String warning)
          Package-private because noone else should create this
 
Method Summary
 boolean getResult()
          Gets the result of the resource bundle operation
 java.lang.String getWarning()
          Gets the string that represents the warning message (if any) generated by the resource bundle operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleOperationResult

public ResourceBundleOperationResult(boolean result,
                                     java.lang.String warning)
Package-private because noone else should create this

Parameters:
result - whether the operation succeeded or failed
warning - string that represents a warning if any occurred, may be null
Method Detail

getResult

public boolean getResult()
Gets the result of the resource bundle operation

Returns:
true if the operation succeeded, false if it failed

getWarning

public java.lang.String getWarning()
Gets the string that represents the warning message (if any) generated by the resource bundle operation.

Returns:
the string that represents the warning message generated by the resource bundle operation. Null if no warning was generated.

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.