org.springframework.cloud.dataflow.rest.util

## Interface CheckableResource

- All Superinterfaces:
    org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource
  All Known Implementing Classes:
    ProcessOutputResource

      public interface CheckableResource
      extends org.springframework.core.io.Resource

  A CheckableResource is a `Resource` which can be checked for validity. If the check method throws an exception, any information obtained from the Resource should be discarded.
  Author:
    Glyn Normington

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `check()`

    - ### Methods inherited from interface org.springframework.core.io.Resource

      `contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel`

    - ### Methods inherited from interface org.springframework.core.io.InputStreamSource

      `getInputStream`

- - ### Method Detail

    - #### check

          void check()
              throws IOException

      Throws:
        `IOException`

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.