Deprecated API


Contents
Deprecated Classes
ccs.http.BrowserExecutable
          No longer used, but still present in legacy conf.cdbs. 
ccs.http.ContentConnection
          This seems to be disused. 
ccs.protocol.mux.Handler
          This has fallen out of use in general. It still works AFAIK; if any application finds a use for it, we can move it into the kernel proper. It really doesn't belong in here any more, though. 
ccs.utils.ImageCanvas
          Use a JLabel with an ImageIcon instead. 
ccs.utils.LogFile
          Java now provides a standard logging API; use that instead. 
 

Deprecated Fields
ccs.beetree.DeadlockException.culprits
          Under the new locking scheme this list is no longer accessible. 
ccs.utils.FileKiller.PARANOID
          This tag is insufficiently descriptive and is no longer in use. SCHNEIER is the replacement in terms of functionality, GUTMANN in terms of the spirit. 
 

Deprecated Methods
ccs.mime.MimeRegistry.mimeTypeFor(String)
          This method is unreliable. Use the version with two parameters instead. 
ccs.http.HUtil.parseMultipartForm(InputStream, int, String, String)
          All webapps should be using Pasiphae now rather than trying to do this themselves. Pasiphae handles input type=file too, which this doesn't. 
ccs.beetree.BeeTree.restore(File)
          Considered dodgy! This has not been used in anger and so has not accrued the same level of confidence as everything else. Most applications won't need to do this except during disaster recovery; under these circumstances it's much safer to stop the application, restore manually and then restart the application. 
ccs.utils.FileKiller.setMaxThreads(int)
          FileKiller is now single-threaded. This method does nothing. 
ccs.cdb.CDBFile.setReal(boolean)
          This is now managed automatically. This call does nothing. 
ccs.mime.MimeRegistry.typeForPath(String)
          This is unreliable. Use the two-parameter version instead, or use MUtil.getExtn directly. 
 

Deprecated Constructors
ccs.beetree.BeeTree(File, byte[], boolean, boolean)
          The extra consistency checks are now implemented as assertions. To enable these checks, enable assertions with the -ea VM parameter.