Class FirefoxPreferencesFinder


  • public class FirefoxPreferencesFinder
    extends java.lang.Object
    Finds the file corresponding to firefox's (default) preferences file
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOG  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File find()
      Returns a file object representing firefox's preferences file
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logger LOG
    • Constructor Detail

      • FirefoxPreferencesFinder

        public FirefoxPreferencesFinder()
    • Method Detail

      • find

        public static java.io.File find()
                                 throws java.io.IOException
        Returns a file object representing firefox's preferences file
        Returns:
        a File object representing the preferences file.
        Throws:
        java.io.FileNotFoundException - if the preferences file could not be found
        java.io.IOException - if an exception occurs while trying to identify the location of the preferences file.