Class BrowserProfile
-
- All Implemented Interfaces:
-
kotlin.Comparable
public final class BrowserProfile implements Comparable<BrowserProfile>
A browser profile defines a unique agent to visit websites.
Page visits through different privacy agents should not be detected as the same person, even if the visits are from the same host.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBrowserProfile.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ProfileIdidprivate final <Error class: unknown class>identprivate final Stringdisplayprivate final BrowserTypebrowserTypeprivate final BooleanisSystemDefaultprivate final BooleanisDefaultprivate final BooleanisPrototypeprivate final BooleanisGroupprivate final BooleanisTemporaryprivate final BooleanisPermanentprivate final PathcontextDirprivate Fingerprintfingerprintpublic final static BrowserProfile.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description BrowserProfile(Path contextDir)BrowserProfile(Path contextDir, BrowserType browserType)BrowserProfile(Path contextDir, Fingerprint fingerprint)
-
Method Summary
Modifier and Type Method Description final ProfileIdgetId()final <Error class: unknown class>getIdent()final StringgetDisplay()final BrowserTypegetBrowserType()final BooleanisSystemDefault()final BooleanisDefault()final BooleanisPrototype()final BooleanisGroup()final BooleanisTemporary()final BooleanisPermanent()final PathgetContextDir()final FingerprintgetFingerprint()final UnitsetFingerprint(Fingerprint fingerprint)Booleanequals(Object other)The PrivacyAgent equality. IntegerhashCode()IntegercompareTo(BrowserProfile other)-
-
Method Detail
-
getIdent
final <Error class: unknown class> getIdent()
-
getDisplay
final String getDisplay()
-
getBrowserType
final BrowserType getBrowserType()
-
isSystemDefault
final Boolean isSystemDefault()
-
isPrototype
final Boolean isPrototype()
-
isTemporary
final Boolean isTemporary()
-
isPermanent
final Boolean isPermanent()
-
getContextDir
final Path getContextDir()
-
getFingerprint
final Fingerprint getFingerprint()
-
setFingerprint
final Unit setFingerprint(Fingerprint fingerprint)
-
equals
Boolean equals(Object other)
The PrivacyAgent equality. Note: do not use the default equality function
-
compareTo
Integer compareTo(BrowserProfile other)
-
-
-
-