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 Details

    • 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