Package Torello.Browser.BrowserAPI
Class PWA.FileHandlerAccept
- java.lang.Object
-
- Torello.Browser.BaseType<PWA.FileHandlerAccept>
-
- Torello.Browser.BrowserAPI.PWA.FileHandlerAccept
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- PWA
public static class PWA.FileHandlerAccept extends BaseType<PWA.FileHandlerAccept> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in thePWAdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.The following types are the replica of https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/PWA.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/PWA.java
File Size: 2,054 Bytes Line Count: 49 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: PWA$$FileHandlerAccept$$.java
- Open New Browser-Tab: PWA$$FileHandlerAccept$$.java
File Size: 8,173 Bytes Line Count: 202 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description String[]fileExtensions[No Description Provided by Google]StringmediaTypeNew name of the mimetype according to https://www.iana.org/assignments/media-types/media-types.xhtml
-
Constructor Summary
Constructors Constructor Description FileHandlerAccept(ReadOnlyList<Boolean> isPresent, String mediaType, String[] fileExtensions)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static PWA.FileHandlerAcceptfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<PWA.FileHandlerAccept>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
mediaType
public final java.lang.String mediaType
New name of the mimetype according to https://www.iana.org/assignments/media-types/media-types.xhtml
-
fileExtensions
public final java.lang.String[] fileExtensions
[No Description Provided by Google]
-
-
Constructor Detail
-
FileHandlerAccept
public FileHandlerAccept(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String mediaType, java.lang.String[] fileExtensions)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static PWA.FileHandlerAccept fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<PWA.FileHandlerAccept> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-