Package org.harctoolbox.lirc
Class LircConfigFile
java.lang.Object
org.harctoolbox.lirc.LircConfigFile
This class parses the Lircd configuration file(s).
Its preferred public members are the static functions parseConfig,
updating a Map of
LircRemote
s, while guaranteeing that all remotes will
be presentm possibly with modified keys for satisfying the uniqueness requirement.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<LircRemote>
readRemotes
(Reader reader) static List<LircRemote>
readRemotes
(Reader reader, String source) static List<LircRemote>
readRemotes
(String urlOrFilename, String charSetName) static List<LircRemote>
readRemotesFileOrDirectory
(File fileOrDirectory, String charSetName) static List<LircRemote>
readRemotesURL
(String urlOrFilename, String charsetName)
-
Field Details
-
DEFAULT_CHARSET_NAME
Default character set for the input files.- See Also:
-
-
Method Details
-
readRemotesFileOrDirectory
public static List<LircRemote> readRemotesFileOrDirectory(File fileOrDirectory, String charSetName) throws IOException - Throws:
IOException
-
readRemotes
- Throws:
IOException
-
readRemotes
- Throws:
IOException
-
readRemotes
public static List<LircRemote> readRemotes(String urlOrFilename, String charSetName) throws IOException - Throws:
IOException
-
readRemotesURL
public static List<LircRemote> readRemotesURL(String urlOrFilename, String charsetName) throws MalformedURLException, IOException - Throws:
MalformedURLException
IOException
-