Deprecated API
Contents
-
Deprecated FieldsFieldDescriptionOnly public by accident.Only public by accident.Only public by accident.Only public by accident.Only public by accident.does not handle XML attributesdoes not handle XML attributesdoes not handle XML attributesThe property is now hidden.This system name should now be avoided in favor of identifying files persistently by URL.
-
Deprecated MethodsMethodDescriptionPlease use the ClassPath API instead.Please use the ClassPath API instead.Use
FileObject.toURL()
instead.Please use theFileObject.canWrite()
.No longer used. Instead useSharabilityQuery
.Please use the ClassPath API instead, or useFileSystem.findResource(java.lang.String)
if you are not interested in classpaths.The system name should now be avoided in favor of identifying files persistently by URL.The system name should now be avoided in favor of identifying files persistently by URL.Use of XML filesystem layers generally obsoletes this method. For tests, useorg.openide.util.test.TestFileUtils#unpackZipFile
.UseFileUtil.toFileObject(java.io.File)
instead.useFileUtil.getMIMEType(FileObject)
orFileUtil.getMIMEType(FileObject, String[])
as MIME cannot be generally detected by file object extension.No longer used.Just useJFileChooser.setCurrentDirectory(java.io.File)
. JDK 6 does not have this bug.useless because there is no filesystem but only default filesystem in Repository. Add new listener directly to default filesystemRepository.getDefaultFileSystem()
.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please useFileUtil.getConfigFile(String)
orFileUtil.getConfigRoot()
instead.Please use the ClassPath API instead.Unused.useless because there is no filesystem but only default filesystem in Repository. Add new listener directly to default filesystemRepository.getDefaultFileSystem()
.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Please use the ClassPath API instead.Unused.UseURLMapper.findFileObject(java.net.URL)
instead.
-
Deprecated ConstructorsConstructorDescriptionUse
MIMEResolver(String...)
instead. Declaring MIME types which can only be resolved by this resolver helps to speed up IDE.