Package guru.qas.martini.standalone.io
Class OptionedFileSystemResource
- java.lang.Object
-
- org.springframework.core.io.AbstractResource
-
- org.springframework.core.io.FileSystemResource
-
- guru.qas.martini.standalone.io.OptionedFileSystemResource
-
- All Implemented Interfaces:
org.springframework.core.io.InputStreamSource,org.springframework.core.io.Resource,org.springframework.core.io.WritableResource
public final class OptionedFileSystemResource extends org.springframework.core.io.FileSystemResource
-
-
Constructor Summary
Constructors Constructor Description OptionedFileSystemResource(java.io.File file, java.nio.file.OpenOption... options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.OutputStreamgetOutputStream()-
Methods inherited from class org.springframework.core.io.AbstractResource
getFileForLastModifiedCheck, isOpen, lastModified, toString
-
Methods inherited from class org.springframework.core.io.FileSystemResource
contentLength, createRelative, equals, exists, getDescription, getFile, getFilename, getInputStream, getPath, getURI, getURL, hashCode, isFile, isReadable, isWritable, readableChannel, writableChannel
-
-
-
-
Method Detail
-
getOutputStream
@Nonnull public java.io.OutputStream getOutputStream() throws java.io.IOException- Specified by:
getOutputStreamin interfaceorg.springframework.core.io.WritableResource- Overrides:
getOutputStreamin classorg.springframework.core.io.FileSystemResource- Throws:
java.io.IOException
-
-