当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
FileEditorSupport.FileEnvironment (NetBeans VCS API) - NetBeans API Javadoc 4.1.0
org.netbeans.modules.vcscore.util
Class FileEditorSupport.FileEnvironment
java.lang.Object
org.netbeans.modules.vcscore.util.FileEditorSupport.FileEnvironment
- All Implemented Interfaces:
- CloneableEditorSupport.Env, CloneableOpenSupport.Env, Serializable
- Enclosing class:
- FileEditorSupport
- public static class FileEditorSupport.FileEnvironment
- extends Object
- implements CloneableEditorSupport.Env
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEditorSupport.FileEnvironment
public FileEditorSupport.FileEnvironment(File file,
String mimeType)
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface CloneableEditorSupport.Env
getTime
public Date getTime()
- Specified by:
getTime
in interface CloneableEditorSupport.Env
inputStream
public InputStream inputStream()
throws IOException
- Specified by:
inputStream
in interface CloneableEditorSupport.Env
- Throws:
IOException
outputStream
public OutputStream outputStream()
throws IOException
- Specified by:
outputStream
in interface CloneableEditorSupport.Env
- Throws:
IOException
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interface CloneableOpenSupport.Env
addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener l)
- Specified by:
addVetoableChangeListener
in interface CloneableOpenSupport.Env
findCloneableOpenSupport
public CloneableOpenSupport findCloneableOpenSupport()
- Specified by:
findCloneableOpenSupport
in interface CloneableOpenSupport.Env
isModified
public boolean isModified()
- Specified by:
isModified
in interface CloneableOpenSupport.Env
isValid
public boolean isValid()
- Specified by:
isValid
in interface CloneableOpenSupport.Env
markModified
public void markModified()
throws IOException
- Specified by:
markModified
in interface CloneableOpenSupport.Env
- Throws:
IOException
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interface CloneableOpenSupport.Env
removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener l)
- Specified by:
removeVetoableChangeListener
in interface CloneableOpenSupport.Env
unmarkModified
public void unmarkModified()
- Specified by:
unmarkModified
in interface CloneableOpenSupport.Env