com.opera.core.systems.util
Class ProfileUtils

java.lang.Object
  extended by com.opera.core.systems.util.ProfileUtils

public class ProfileUtils
extends Object

Class to manage browser profile.


Constructor Summary
ProfileUtils(String largePrefsFolder, String smallPrefsFolder, String cachePrefsFolder, OperaSettings settings)
           
 
Method Summary
 boolean copyProfile(String newPrefs)
           
 boolean deleteProfile()
          Deletes prefs folders for Does nothing if prefs folders are default main user profile
 boolean isMac()
           
 boolean isMainProfile(String prefsPath)
           
 boolean isWindows()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileUtils

public ProfileUtils(String largePrefsFolder,
                    String smallPrefsFolder,
                    String cachePrefsFolder,
                    OperaSettings settings)
Method Detail

isMac

public boolean isMac()

isWindows

public boolean isWindows()

isMainProfile

public boolean isMainProfile(String prefsPath)

deleteProfile

public boolean deleteProfile()
Deletes prefs folders for Does nothing if prefs folders are default main user profile


copyProfile

public boolean copyProfile(String newPrefs)
Returns:
true if profile was copied, else false


Copyright © 2012. All Rights Reserved.