public abstract class AbstractTrackReader extends java.lang.Object implements TrackReader
Constructor and Description |
---|
AbstractTrackReader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptFilePath(java.lang.String filePath) |
protected Track[] |
asArray(java.util.List<Track> trackList) |
boolean |
canRead(java.lang.Object source) |
protected boolean |
doCanRead(java.io.InputStream inputStream) |
protected boolean |
doCanRead(java.lang.Object source) |
protected boolean |
doCanRead(java.lang.String filePath) |
protected boolean |
doCanRead(java.net.URL url) |
protected abstract Track[] |
doRead(java.io.InputStream inputStream) |
protected Track[] |
doRead(java.lang.Object source) |
protected Track[] |
doRead(java.lang.String filePath) |
protected Track[] |
doRead(java.net.URL url) |
Track[] |
read(java.lang.Object source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
protected boolean acceptFilePath(java.lang.String filePath)
public boolean canRead(java.lang.Object source)
canRead
in interface TrackReader
protected boolean doCanRead(java.io.InputStream inputStream)
protected boolean doCanRead(java.lang.Object source)
protected boolean doCanRead(java.lang.String filePath)
protected boolean doCanRead(java.net.URL url)
protected abstract Track[] doRead(java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException
protected Track[] doRead(java.lang.Object source) throws java.io.IOException
java.io.IOException
protected Track[] doRead(java.lang.String filePath) throws java.io.IOException
java.io.IOException
protected Track[] doRead(java.net.URL url) throws java.io.IOException
java.io.IOException
public Track[] read(java.lang.Object source)
read
in interface TrackReader