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 DistributionInformationSource
IOException
public DistributionInformation getFromOsRelease() throws IOException
IOException
public DistributionInformation getFromOsRelease(String releaseFile) throws IOException
IOException
public DistributionInformation getFromOsRelease(BufferedReader reader) throws IOException
IOException
Copyright © 2013. All rights reserved.