public static enum CosDataSource.Utils extends Enum<CosDataSource.Utils>
CosDataSource specific utilities.| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupDataSource(CosDataSource req,
File fileOrig,
InputStream inputStreamOrig,
InputStream inputStreamCurr,
org.slf4j.Logger log)
Clean up any temporary streams created during the execution,
and restore the original file and/or input stream.
|
static CosDataSource.Utils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CosDataSource.Utils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static CosDataSource.Utils[] values()
for (CosDataSource.Utils c : CosDataSource.Utils.values()) System.out.println(c);
public static CosDataSource.Utils valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void cleanupDataSource(CosDataSource req, File fileOrig, InputStream inputStreamOrig, InputStream inputStreamCurr, org.slf4j.Logger log)
Copyright © 2023. All rights reserved.