public class NestedArchiveResource
extends java.lang.Object
implements org.springframework.core.io.ContextResource
Archive
内で解決されたリソースを表します。コンストラクターと説明 |
---|
NestedArchiveResource(org.springframework.boot.loader.archive.Archive rootArchive, java.lang.String path) |
修飾子と型 | メソッドと説明 |
---|---|
long | contentLength() |
org.springframework.core.io.Resource | createRelative(java.lang.String relativePath) |
boolean | exists() |
java.lang.String | getDescription() |
java.io.File | getFile() |
java.lang.String | getFilename() |
java.io.InputStream | getInputStream() |
java.lang.String | getPathWithinContext() |
java.net.URI | getURI() |
java.net.URL | getURL() |
boolean | isOpen() |
boolean | isReadable() |
long | lastModified() |
java.lang.String | toString() |
public NestedArchiveResource(org.springframework.boot.loader.archive.Archive rootArchive, java.lang.String path)
public java.lang.String getPathWithinContext()
org.springframework.core.io.ContextResource
の getPathWithinContext
public boolean exists()
org.springframework.core.io.Resource
の exists
public boolean isReadable()
org.springframework.core.io.Resource
の isReadable
public boolean isOpen()
org.springframework.core.io.Resource
の isOpen
public java.net.URL getURL() throws java.io.IOException
org.springframework.core.io.Resource
の getURL
java.io.IOException
public java.net.URI getURI() throws java.io.IOException
org.springframework.core.io.Resource
の getURI
java.io.IOException
public java.io.File getFile() throws java.io.IOException
org.springframework.core.io.Resource
の getFile
java.io.IOException
public long contentLength() throws java.io.IOException
org.springframework.core.io.Resource
の contentLength
java.io.IOException
public long lastModified() throws java.io.IOException
org.springframework.core.io.Resource
の lastModified
java.io.IOException
public org.springframework.core.io.Resource createRelative(java.lang.String relativePath) throws java.io.IOException
org.springframework.core.io.Resource
の createRelative
java.io.IOException
public java.lang.String getFilename()
org.springframework.core.io.Resource
の getFilename
public java.lang.String getDescription()
org.springframework.core.io.Resource
の getDescription
public java.io.InputStream getInputStream() throws java.io.IOException
org.springframework.core.io.InputStreamSource
の getInputStream
java.io.IOException
public java.lang.String toString()
java.lang.Object
の toString