java.lang.Object
es.juntadeandalucia.afirma.client.util.signatureFormat.UtilsResources

public final class UtilsResources extends Object

Class that provides functionality to control resources.

Project:

Horizontal platform of validation services of multiPKI certificates and electronic signature.

Version:
1.0, 25/11/2010.
  • Method Details

    • safeCloseZipFile

      public static void safeCloseZipFile(ZipFile zip)
      Method that handles the closing of a ZipFile resource.
      Parameters:
      zip - Parameter that represents a ZipFile resource.
    • safeCloseOutputStream

      public static void safeCloseOutputStream(OutputStream os)
      Method that handles the closing of a OutputStream resource.
      Parameters:
      os - Parameter that represents a OutputStream resource.
    • safeCloseInputStream

      public static void safeCloseInputStream(InputStream is)
      Method that handles the closing of a InputStream resource.
      Parameters:
      is - Parameter that represents a InputStream resource.
    • safeCloseReader

      public static void safeCloseReader(Reader br)
      Method that handles the closing of a Reader resource.
      Parameters:
      br - Parameter that represents a Reader resource.
    • safeCloseWriter

      public static void safeCloseWriter(Writer wr)
      Method that handles the closing of a Writer resource.
      Parameters:
      wr - Parameter that represents a Writer resource.