protected static class ClassPathResourceFactory.OverridingTypeClassPathResource extends ClassPathResource
| Constructor and Description |
|---|
ClassPathResourceFactory.OverridingTypeClassPathResource(ResourceType overridingType,
ClassPathResource original) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getLastModified() |
byte[] |
getMd5() |
java.lang.String |
getName() |
java.net.URL |
getPrivateUrl() |
long |
getSize() |
java.lang.String |
getUri() |
boolean |
isExisting() |
boolean |
isGenerated() |
java.io.InputStream |
openInputStream() |
getClassLoader, getType, initMd5AndSizeequals, hashCode, release, toString, touchpublic ClassPathResourceFactory.OverridingTypeClassPathResource(@Nonnull
ResourceType overridingType,
@Nonnull
ClassPathResource original)
@Nonnull
public java.io.InputStream openInputStream()
throws java.io.IOException
openInputStream in interface ResourceopenInputStream in class ClassPathResourcejava.io.IOException@Nonnull
public byte[] getMd5()
throws java.io.IOException
getMd5 in interface ResourcegetMd5 in class ClassPathResourcejava.io.IOExceptionpublic long getSize()
throws java.io.IOException
getSize in interface ResourcegetSize in class ClassPathResourcejava.io.IOExceptionpublic java.util.Date getLastModified()
throws java.io.IOException
getLastModified in interface ResourcegetLastModified in class ClassPathResourcejava.io.IOExceptionpublic boolean isExisting()
throws java.io.IOException
isExisting in interface ResourceisExisting in class ClassPathResourcejava.io.IOException@Nonnull public java.lang.String getUri()
getUri in interface UriEnabledResourcegetUri in class ClassPathResourcepublic boolean isGenerated()
throws java.io.IOException
isGenerated in interface ResourceisGenerated in class ClassPathResourcejava.io.IOException@Nonnull
public java.net.URL getPrivateUrl()
throws java.io.IOException
getPrivateUrl in interface PrivateUrlEnabledResourcegetPrivateUrl in class ClassPathResourcejava.io.IOException@Nonnull public java.lang.String getName()
getName in interface NameEnabledResourcegetName in class ClassPathResourceCopyright © 2015 echocat. All Rights Reserved.