org.openide.filesystems 7.13.1 1

Deprecated API


Contents
Deprecated Classes
org.openide.filesystems.FileSystem.Environment
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability
          Now useless. 
org.openide.filesystems.FileSystemCapability.Bean
          For the same reason the whole class is. 
 

Deprecated Exceptions
org.openide.filesystems.EnvironmentNotSupportedException
          Please use the ClassPath API instead. 
 

Deprecated Fields
org.openide.filesystems.DefaultAttributes.ATTR_EXT
          does not handle XML attributes 
org.openide.filesystems.DefaultAttributes.ATTR_NAME
          does not handle XML attributes 
org.openide.filesystems.DefaultAttributes.ATTR_NAME_EXT
          does not handle XML attributes 
org.openide.filesystems.FileSystemCapability.COMPILE
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.DEBUG
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.DOC
          Please use JavadocForBinaryQuery instead. 
org.openide.filesystems.FileSystemCapability.EXECUTE
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystem.PROP_HIDDEN
          The property is now hidden. 
org.openide.filesystems.FileSystem.PROP_SYSTEM_NAME
          This system name should now be avoided in favor of identifying files persistently by URL. 
org.openide.filesystems.AbstractFileSystem.List.serialVersionUID
          Only public by accident. 
org.openide.filesystems.AbstractFileSystem.Change.serialVersionUID
          Only public by accident. 
org.openide.filesystems.AbstractFileSystem.Transfer.serialVersionUID
          Only public by accident. 
org.openide.filesystems.AbstractFileSystem.Info.serialVersionUID
          Only public by accident. 
org.openide.filesystems.AbstractFileSystem.Attr.serialVersionUID
          Only public by accident. 
 

Deprecated Methods
org.openide.filesystems.FileSystem.Environment.addClassPath(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.addFileChangeListener(FileChangeListener)
          useless because there is no filesystem but only default filesystem in Repository. Add new listener directly to default filesystem Repository.getDefaultFileSystem(). 
org.openide.filesystems.Repository.addFileSystem(FileSystem)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.addRepositoryListener(RepositoryListener)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileUtil.extractJar(FileObject, InputStream)
          Use of XML filesystem layers generally obsoletes this method. 
org.openide.filesystems.Repository.fileSystems()
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.fileSystems()
          Please use the ClassPath API instead. 
org.openide.filesystems.AbstractFileSystem.find(String, String, String)
           
org.openide.filesystems.FileSystem.find(String, String, String)
          Please use the ClassPath API instead, or use FileSystem.findResource(java.lang.String) if you are not interested in classpaths. 
org.openide.filesystems.MultiFileSystem.find(String, String, String)
           
org.openide.filesystems.Repository.find(String, String, String)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.find(String, String, String)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.findAll(String, String, String)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.findAll(String, String, String)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.findAllResources(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.findAllResources(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.URLMapper.findFileObjects(URL)
          Use URLMapper.findFileObject(java.net.URL) instead. 
org.openide.filesystems.Repository.findFileSystem(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.findResource(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.findResource(String)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileUtil.fromFile(File)
          Use FileUtil.toFileObject(java.io.File) instead. 
org.openide.filesystems.FileSystem.getCapability()
          Capabilities are no longer used. 
org.openide.filesystems.FileSystemCapability.Bean.getCompile()
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.Bean.getDebug()
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.Bean.getDoc()
          Please use JavadocForBinaryQuery instead. 
org.openide.filesystems.FileSystemCapability.Bean.getExecute()
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.getFileSystems()
          Please use the ClassPath API instead. 
org.openide.filesystems.FileUtil.getMIMEType(String)
          use FileUtil.getMIMEType(FileObject) or FileUtil.getMIMEType(FileObject, String[]) as MIME cannot be generally detected by file object extension. 
org.openide.filesystems.FileObject.getPackageName(char)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileObject.getPackageNameExt(char, char)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystem.getSystemName()
          The system name should now be avoided in favor of identifying files persistently by URL. 
org.openide.filesystems.FileSystem.isHidden()
          This property is now useless. 
org.openide.filesystems.FileSystem.isPersistent()
          This property is long since useless. 
org.openide.filesystems.FileObject.isReadOnly()
          Please use the FileObject.canWrite(). 
org.openide.filesystems.FileSystem.prepareEnvironment(FileSystem.Environment)
          Please use the ClassPath API instead. 
org.openide.filesystems.MultiFileSystem.prepareEnvironment(FileSystem.Environment)
          Useless. 
org.openide.filesystems.LocalFileSystem.prepareEnvironment(FileSystem.Environment)
          Useless. 
org.openide.filesystems.JarFileSystem.prepareEnvironment(FileSystem.Environment)
          Useless. 
org.openide.filesystems.Repository.readExternal(ObjectInput)
          Unused. 
org.openide.filesystems.Repository.removeFileChangeListener(FileChangeListener)
          useless because there is no filesystem but only default filesystem in Repository. Add new listener directly to default filesystem Repository.getDefaultFileSystem(). 
org.openide.filesystems.Repository.removeFileSystem(FileSystem)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.removeRepositoryListener(RepositoryListener)
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.reorder(int[])
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystem.setCapability(FileSystemCapability)
          Capabilities are no longer used. 
org.openide.filesystems.FileSystemCapability.Bean.setCompile(boolean)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.Bean.setDebug(boolean)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystemCapability.Bean.setDoc(boolean)
          Please use JavadocForBinaryQuery instead. 
org.openide.filesystems.FileSystemCapability.Bean.setExecute(boolean)
          Please use the ClassPath API instead. 
org.openide.filesystems.FileSystem.setHidden(boolean)
          This property is now useless. 
org.openide.filesystems.FileObject.setImportant(boolean)
          No longer used. Instead use SharabilityQuery. 
org.openide.filesystems.FileUtil.setMIMEType(String, String)
          You should instead use the more general MIMEResolver system. 
org.openide.filesystems.FileSystem.setSystemName(String)
          The system name should now be avoided in favor of identifying files persistently by URL. 
org.openide.filesystems.Repository.toArray()
          Please use the ClassPath API instead. 
org.openide.filesystems.Repository.writeExternal(ObjectOutput)
          Unused. 
 

Deprecated Constructors
org.openide.filesystems.JarFileSystem(FileSystemCapability)
          Useless. 
org.openide.filesystems.LocalFileSystem(FileSystemCapability)
          Useless. 
org.openide.filesystems.MIMEResolver()
          Use MIMEResolver.MIMEResolver(String...) instead. Declaring MIME types which can only be resolved by this resolver helps to speed up IDE. 
org.openide.filesystems.XMLFileSystem(FileSystemCapability)
          Useless. 
 


org.openide.filesystems 7.13.1 1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.