public interface CheckableResource extends Resource
Resource
which can be checked for validity.
If the check method throws an exception, any information obtained from the Resource should be discarded.Modifier and Type | Method and Description |
---|---|
void |
check() |
contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
getInputStream
void check() throws IOException
IOException
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.