Enum Class InsdogUtils
- All Implemented Interfaces:
Serializable
,Comparable<InsdogUtils>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
R> Act.Func <T, R> static <T> Act.Let
<T> let
(T value) static void
materializeResource
(File output, String resourcePath) Copies the contents of a resource file from the classpath to a specified output file.static Act.Func
<com.microsoft.playwright.Page, com.microsoft.playwright.Page> static <T> Act.Sink
<T> static InsdogUtils
Returns the enum constant of this class with the specified name.static InsdogUtils[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
materializeResource
Copies the contents of a resource file from the classpath to a specified output file.- Parameters:
output
- The output file to which the resource contents will be writtenresourcePath
- A path to a resource on a class path to be materialized
-
let
-
func
-
sink
-
page
-