com.sun.xml.ws.policy.privateutil
Class PolicyUtils.IO
java.lang.Object
com.sun.xml.ws.policy.privateutil.PolicyUtils.IO
- Enclosing class:
- PolicyUtils
public static class PolicyUtils.IO
- extends Object
|
Method Summary |
static void |
closeResource(Closeable resource)
If the resource is not null, this method will try to close the
resource instance and log warning about any unexpected
IOException that may occur. |
static void |
closeResource(XMLStreamReader reader)
If the reader is not null, this method will try to close the
reader instance and log warning about any unexpected
IOException that may occur. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyUtils.IO
public PolicyUtils.IO()
closeResource
public static void closeResource(Closeable resource)
- If the
resource is not null, this method will try to close the
resource instance and log warning about any unexpected
IOException that may occur.
- Parameters:
resource - resource to be closed
closeResource
public static void closeResource(XMLStreamReader reader)
- If the
reader is not null, this method will try to close the
reader instance and log warning about any unexpected
IOException that may occur.
- Parameters:
reader - resource to be closed
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.