Skip navigation links

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

E17493-03


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.

Skip navigation links

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

E17493-03


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