Class ParseOsFamilyVersion64BitFromImageName
- java.lang.Object
-
- org.jclouds.glesys.compute.functions.ParseOsFamilyVersion64BitFromImageName
-
- All Implemented Interfaces:
com.google.common.base.Function<String,OsFamilyVersion64Bit>
,Function<String,OsFamilyVersion64Bit>
@Singleton public class ParseOsFamilyVersion64BitFromImageName extends Object implements com.google.common.base.Function<String,OsFamilyVersion64Bit>
Defaults to version null and 64bit, if the operating system is unrecognized and the pattern "32bit" isn't in the string.
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
OSFAMILY
static Pattern
OSFAMILY_VERSION
-
-
-
Method Detail
-
apply
public OsFamilyVersion64Bit apply(String input)
- Specified by:
apply
in interfacecom.google.common.base.Function<String,OsFamilyVersion64Bit>
- Specified by:
apply
in interfaceFunction<String,OsFamilyVersion64Bit>
-
-