站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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

Field Summary
 
Fields inherited from interface org.openide.text.CloneableEditorSupport.Env
PROP_TIME
 
Fields inherited from interface org.openide.windows.CloneableOpenSupport.Env
PROP_MODIFIED, PROP_VALID
 
Constructor Summary
FileEditorSupport.FileEnvironment(File file, String mimeType)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 void addVetoableChangeListener(VetoableChangeListener l)
           
 CloneableOpenSupport findCloneableOpenSupport()
           
 String getMimeType()
           
 Date getTime()
           
 InputStream inputStream()
           
 boolean isModified()
           
 boolean isValid()
           
 void markModified()
           
 OutputStream outputStream()
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void removeVetoableChangeListener(VetoableChangeListener l)
           
 void unmarkModified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEditorSupport.FileEnvironment

public FileEditorSupport.FileEnvironment(File file,
                                         String mimeType)
Method Detail

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

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.