public class DefaultMutableFile extends Object implements MutableFile
MutableFile.| Constructor and Description |
|---|
DefaultMutableFile(File file,
org.springframework.roo.file.monitor.NotifiableFileMonitorService fileMonitorService,
ManagedMessageRenderer managedMessageRenderer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalPath() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
void |
setDescriptionOfChange(String message)
Permits presentation of additional information about a change being made
via
MutableFile.getOutputStream(). |
String |
toString() |
public DefaultMutableFile(File file, org.springframework.roo.file.monitor.NotifiableFileMonitorService fileMonitorService, ManagedMessageRenderer managedMessageRenderer)
public String getCanonicalPath()
getCanonicalPath in interface MutableFilepublic InputStream getInputStream()
getInputStream in interface MutableFilepublic OutputStream getOutputStream()
getOutputStream in interface MutableFilepublic void setDescriptionOfChange(String message)
MutableFileMutableFile.getOutputStream().setDescriptionOfChange in interface MutableFilemessage - the additional information (can be null or empty to clear
any extra information)Copyright © 2009–2016. All rights reserved.