Class InstallerInfoFileReader
java.lang.Object
org.gvsig.installer.lib.impl.info.InstallerInfoFileReader
- All Implemented Interfaces:
org.gvsig.installer.lib.api.PackageInfoReader
public class InstallerInfoFileReader
extends Object
implements org.gvsig.installer.lib.api.PackageInfoReader
- Author:
- Jorge Piera Llodrá
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReads and parses the install.info file and creates one object that contains the information.voidread(org.gvsig.installer.lib.api.PackageInfo installerInfoResource, InputStream is) Reads and parses the install.info file and creates one object that contains the information.voidReads and parses the install.info file and creates one object that contains the information.
-
Constructor Details
-
InstallerInfoFileReader
public InstallerInfoFileReader()
-
-
Method Details
-
read
public void read(org.gvsig.installer.lib.api.PackageInfo installerInfoResource, String fileName) throws org.gvsig.installer.lib.spi.InstallerInfoFileException Reads and parses the install.info file and creates one object that contains the information.- Parameters:
fileName- The file name that contains the install.info information.- Throws:
org.gvsig.installer.lib.spi.InstallerInfoFileException
-
read
public void read(org.gvsig.installer.lib.api.PackageInfo installerInfoResource, File file) throws org.gvsig.installer.lib.spi.InstallerInfoFileException Reads and parses the install.info file and creates one object that contains the information.- Parameters:
file- The file that contains the install.info information.- Throws:
org.gvsig.installer.lib.spi.InstallerInfoFileException
-
read
public void read(org.gvsig.installer.lib.api.PackageInfo installerInfoResource, InputStream is) throws org.gvsig.installer.lib.spi.InstallerInfoFileException Reads and parses the install.info file and creates one object that contains the information.- Specified by:
readin interfaceorg.gvsig.installer.lib.api.PackageInfoReader- Parameters:
is- The input stream that contains the install.info information.- Throws:
org.gvsig.installer.lib.spi.InstallerInfoFileException
-