net.northfuse.resources
Class AggregatedResource
java.lang.Object
org.springframework.core.io.AbstractResource
org.springframework.core.io.ByteArrayResource
net.northfuse.resources.AggregatedResource
- All Implemented Interfaces:
- org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource
public final class AggregatedResource
- extends org.springframework.core.io.ByteArrayResource
An implementation of Resource.
- Author:
- tylers2
| Methods inherited from class org.springframework.core.io.ByteArrayResource |
equals, exists, getByteArray, getDescription, getInputStream, hashCode |
| Methods inherited from class org.springframework.core.io.AbstractResource |
createRelative, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, isOpen, isReadable, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AggregatedResource
public AggregatedResource(byte[] byteArray)
- Creates an Aggregated resource.
- Parameters:
byteArray - a byte array
lastModified
public long lastModified()
throws java.io.IOException
-
- Specified by:
lastModified in interface org.springframework.core.io.Resource- Overrides:
lastModified in class org.springframework.core.io.AbstractResource
- Throws:
java.io.IOException
contentLength
public long contentLength()
throws java.io.IOException
-
- Specified by:
contentLength in interface org.springframework.core.io.Resource- Overrides:
contentLength in class org.springframework.core.io.AbstractResource
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.