|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.lizzy.Transcode
public final class Transcode
Converts a given playlist file to a specified format.
Method Summary | |
---|---|
static void |
buildCurrentVersion(String resourceName)
Initializes the current project version. |
String |
getSupportedProviderIds()
Returns a string representation of all supported playlist providers , through their identifier. |
static void |
main(String[] args)
Converts an input playlist to the specified playlist format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void buildCurrentVersion(String resourceName) throws Exception
current
project version.
resourceName
- the name of the version resource; "package1/VERSION" for example. Shall not be null
.
SecurityException
- if a security manager exists and its checkPermission
method denies access to the class loader of this class.
NullPointerException
- if resourceName
is null
.
NullPointerException
- if the VERSION file could not be found or the invoker doesn't have adequate privileges to get the resource.
NullPointerException
- if the VERSION file is empty.
IOException
- if an I/O exception occurs.
IllegalArgumentException
- if the version string is malformed.
IndexOutOfBoundsException
- if one of the numbers is strictly negative.
NumberFormatException
- if the version string contains a non-parsable integer.
Exception
Version.CURRENT
,
Version.valueOf(java.lang.String)
public static void main(String[] args) throws Exception
Transcode [options] <input-playlist>
args
- the program arguments.
MalformedURLException
- if at least one of the input strings specifies an unknown protocol.
IOException
- if an I/O exception occurs.
Exception
public String getSupportedProviderIds()
playlist providers
, through their identifier.
null
.SpecificPlaylistProvider.getId()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |