com.teamdev.xpcom
Class DefaultLocationProvider

java.lang.Object
  extended by com.teamdev.xpcom.DefaultLocationProvider
All Implemented Interfaces:
org.mozilla.xpcom.IAppFileLocProvider

public class DefaultLocationProvider
extends java.lang.Object
implements org.mozilla.xpcom.IAppFileLocProvider


Constructor Summary
DefaultLocationProvider(java.io.File binPath, java.io.File profileDir, java.io.File homeDir, java.io.File tmpDir)
           
 
Method Summary
 java.io.File getFile(java.lang.String prop, boolean[] persistent)
           
 java.io.File[] getFiles(java.lang.String aProp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLocationProvider

public DefaultLocationProvider(java.io.File binPath,
                               java.io.File profileDir,
                               java.io.File homeDir,
                               java.io.File tmpDir)
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

getFiles

public java.io.File[] getFiles(java.lang.String aProp)
Specified by:
getFiles in interface org.mozilla.xpcom.IAppFileLocProvider

getFile

public java.io.File getFile(java.lang.String prop,
                            boolean[] persistent)
Specified by:
getFile in interface org.mozilla.xpcom.IAppFileLocProvider