public interface MutableFile
It is critical that classes using MutableFile close any streams
acquired from the file before further UndoManager operations. Failure
to do so many compromise the ability of UndoManager to operate
correctly.
Implementations must guarantee that the file physically exists and is indeed
a file. Specifically, MutableFile implementations should not exist
for directories or non-existent files.
| 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
getOutputStream(). |
String getCanonicalPath()
InputStream getInputStream()
OutputStream getOutputStream()
void setDescriptionOfChange(String message)
getOutputStream().message - the additional information (can be null or empty to clear
any extra information)Copyright © 2009–2016. All rights reserved.