public class EtcOsRelease extends Object implements DistributionInformationSource
| Constructor and Description |
|---|
EtcOsRelease() |
| Modifier and Type | Method and Description |
|---|---|
DistributionInformation |
getDistributionInformation() |
DistributionInformation |
getFromOsRelease() |
DistributionInformation |
getFromOsRelease(BufferedReader reader) |
DistributionInformation |
getFromOsRelease(String releaseFile) |
public DistributionInformation getDistributionInformation() throws IOException
getDistributionInformation in interface DistributionInformationSourceIOExceptionpublic DistributionInformation getFromOsRelease() throws IOException
IOExceptionpublic DistributionInformation getFromOsRelease(String releaseFile) throws IOException
IOExceptionpublic DistributionInformation getFromOsRelease(BufferedReader reader) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.