Class LinuxDistributionInfo
- java.lang.Object
-
- org.gcube.smartgears.handler.resourceregistry.resourcemanager.LinuxDistributionInfo
-
public class LinuxDistributionInfo extends Object
- Author:
- Luca Frosini (ISTI-CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>infostatic StringLSB_RELEASE_COMMANDstatic StringOS_RELEASE_FILE_PATH
-
Constructor Summary
Constructors Constructor Description LinuxDistributionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getInfo()protected Map<String,String>getInfoViaLsbReleaseCommand()protected Map<String,String>getInfoViaOsReleaseFile()
-
-
-
Field Detail
-
LSB_RELEASE_COMMAND
public static final String LSB_RELEASE_COMMAND
- See Also:
- Constant Field Values
-
OS_RELEASE_FILE_PATH
public static final String OS_RELEASE_FILE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInfoViaLsbReleaseCommand
protected Map<String,String> getInfoViaLsbReleaseCommand() throws IOException
- Throws:
IOException
-
getInfoViaOsReleaseFile
protected Map<String,String> getInfoViaOsReleaseFile() throws IOException
- Throws:
IOException
-
-