Java org.springframework.core.io Resource fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.io Resource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.io Resource.

The text is from its open source code.

Implementation

org.springframework.core.io.Resource has the following implementations.
Click this link to see all its implementation.

Constructor

Method

longcontentLength()
Determine the content length for this resource.
ResourcecreateRelative(String relativePath)
Create a resource relative to this resource.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanexists()
Determine whether this resource actually exists in physical form.
ClassgetClass()
Returns the runtime class of this Object .
StringgetDescription()
Return a description for this resource, to be used for error output when working with the resource.
FilegetFile()
Return a File handle for this resource.
StringgetFilename()
Determine a filename for this resource, i.e.
InputStreamgetInputStream()
Return an InputStream for the content of an underlying resource.
URIgetURI()
Return a URI handle for this resource.
URLgetURL()
Return a URL handle for this resource.
inthashCode()
Returns a hash code value for the object.
booleanisFile()
Determine whether this resource represents a file in a file system.
booleanisOpen()
Indicate whether this resource represents a handle with an open stream.
booleanisReadable()
Indicate whether non-empty contents of this resource can be read via #getInputStream() .
longlastModified()
Determine the last-modified timestamp for this resource.
StringtoString()
Returns a string representation of the object.