com.opera.core.systems.util
Class ProfileUtils
java.lang.Object
com.opera.core.systems.util.ProfileUtils
public class ProfileUtils
- extends Object
Class to manage browser profile.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileUtils
public ProfileUtils(String largePrefsFolder,
String smallPrefsFolder,
String cachePrefsFolder,
OperaSettings settings)
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.