Deprecated API


Contents
Deprecated Classes
edu.rice.cs.drjava.model.GlobalEventNotifier.Notifier
          Use listener methods directly instead. 
edu.rice.cs.drjava.model.GlobalEventNotifier.Poller
          Use listener methods directly instead. 
 

Deprecated Exceptions
edu.rice.cs.drjava.model.javadoc.JavadocException
          No longer needed. 
 

Deprecated Fields
edu.rice.cs.util.FileOps.JAVA_FILE_FILTER
          Use IOUtil.extensionFilePredicate(java.lang.String) instead. Example: IOUtil.extensionFileFilter("java"). 
 

Deprecated Methods
edu.rice.cs.util.FileOps.convertToAbsolutePathEntries(String)
          Use IOUtil.parsePath(java.lang.String), IOUtil.getAbsoluteFiles(java.lang.Iterable), IOUtil.attemptAbsoluteFiles(java.lang.Iterable), and IOUtil.pathToString(java.lang.Iterable), as needed, instead. 
edu.rice.cs.util.FileOps.copyFile(File, File)
          Use IOUtil.copyFile(java.io.File, java.io.File) instead; it scales in a much more efficiently. 
edu.rice.cs.util.FileOps.deleteDirectory(File)
          Use IOUtil.deleteRecursively(java.io.File) instead 
edu.rice.cs.util.FileOps.deleteDirectoryOnExit(File)
          Use IOUtil.deleteOnExitRecursively(java.io.File) instead 
edu.rice.cs.util.FileOps.getCanonicalFile(File)
          Use IOUtil.attemptCanonicalFile(java.io.File) instead. 
edu.rice.cs.util.FileOps.getCanonicalPath(File)
          Use IOUtil.attemptCanonicalFile(java.io.File) instead. (The result will be a File instead of a String.) 
edu.rice.cs.util.FileOps.getFilesInDir(File, boolean, FileFilter)
          Use IOUtil.attemptListFilesAsIterable(java.io.File) or IOUtil.listFilesRecursively(File, FileFilter, FileFilter) instead. 
edu.rice.cs.util.FileOps.inFileTree(File, File)
          Use IOUtil.isMember(java.io.File, java.io.File) instead. Note that the new method does not test for null values and does not convert to canonical paths -- if these things are necessary, they should be done before invoking the method. 
edu.rice.cs.util.swing.UnfocusableButton.isFocusTraversable()
           
edu.rice.cs.util.FileOps.makeFile(File, String)
          For a best-attempt canonical file, use IOUtil.attemptCanonicalFile(java.io.File) instead. (for example, IOUtil.attemptCanonicalFile(new File(path))) 
edu.rice.cs.util.FileOps.makeFile(String)
          For a best-attempt canonical file, use IOUtil.attemptCanonicalFile(java.io.File) instead. (for example, IOUtil.attemptCanonicalFile(new File(path))) 
edu.rice.cs.drjava.model.GlobalEventNotifier.pollListeners(GlobalEventNotifier.Poller)
          Use listener methods directly instead. 
edu.rice.cs.util.FileOps.readFileAsString(File)
          Use IOUtil.toString(File) instead, which provides the same functionality. 
edu.rice.cs.util.FileOps.readStreamAsBytes(InputStream)
          Use IOUtil.toByteArray(java.io.File) instead. Note that the IOUtil method will not close the InputStream, while this method does. 
edu.rice.cs.util.FileOps.renameFile(File, File)
          Use IOUtil.attemptMove(java.io.File, java.io.File), which is equally Windows-friendly, instead. 
edu.rice.cs.util.FileOps.splitFile(File)
          Use IOUtil.fullPath(java.io.File) instead. It returns a list of File objects rather than strings, but they appear in the same order. 
edu.rice.cs.util.FileOps.writeIfPossible(File, String, boolean)
          Use IOUtil.attemptWriteStringToFile(File, String, boolean) instead. 
edu.rice.cs.util.FileOps.writeStringToFile(File, String)
          Use the equivalent IOUtil.writeStringToFile(File, String) instead 
edu.rice.cs.util.FileOps.writeStringToFile(File, String, boolean)
          Use the equivalent IOUtil.writeStringToFile(File, String, boolean) instead 
edu.rice.cs.util.FileOps.writeStringToNewTempFile(String, String, String)
          Instead, create a temp file with IOUtil.createAndMarkTempFile(String, String), then write to it with IOUtil.writeStringToFile(File, String).