|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.tuwien.ifs.somtoolbox.data.metadata.AbstractVectorMetaData
at.tuwien.ifs.somtoolbox.data.metadata.AudioVectorMetaData
public class AudioVectorMetaData
| Field Summary | |
|---|---|
private File |
audioFile
|
private String |
orig
|
| Constructor Summary | |
|---|---|
AudioVectorMetaData(File file,
String id)
|
|
| Method Summary | |
|---|---|
protected static File |
checkFileExistence(String filename)
Check if the file exists (absolut or with pre- and suffix) |
static AudioVectorMetaData |
createMetaData(File audioFile)
|
static AudioVectorMetaData |
createMetaData(String id,
File audioFile)
|
File |
getAudioFile()
Get the file this MetaData is describing. |
String |
getDisplayLabel()
Returns a String to display on screen. |
String |
getID()
Return the unique ID of the Vector. |
boolean |
matches(Pattern pattern)
Tests if the vectors MetaData matches the given Pattern. |
boolean |
matches(String pattern,
boolean ignoreCase)
Tests if the vector's MetaData matches the given pattern. |
protected static String |
stripFileNamePreAndSuffix(String filename)
|
| Methods inherited from class at.tuwien.ifs.somtoolbox.data.metadata.AbstractVectorMetaData |
|---|
createMetaData, equals, hashCode, matches, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final String orig
private final File audioFile
| Constructor Detail |
|---|
public AudioVectorMetaData(File file,
String id)
| Method Detail |
|---|
protected static File checkFileExistence(String filename)
throws FileNotFoundException
filename - The filename
FileNotFoundException - if the file does not exist.CommonSOMViewerStateData.fileNamePrefix,
CommonSOMViewerStateData.fileNameSuffixprotected static String stripFileNamePreAndSuffix(String filename)
public File getAudioFile()
public String getID()
AbstractVectorMetaData
getID in class AbstractVectorMetaData
public static AudioVectorMetaData createMetaData(String id,
File audioFile)
throws FileNotFoundException
FileNotFoundException
public static AudioVectorMetaData createMetaData(File audioFile)
throws FileNotFoundException
FileNotFoundExceptionpublic String getDisplayLabel()
AbstractVectorMetaData
getDisplayLabel in class AbstractVectorMetaDatapublic boolean matches(Pattern pattern)
AbstractVectorMetaData
matches in class AbstractVectorMetaDatapattern - the Pattern to test.
true if the pattern matches.AbstractVectorMetaData.matches(String)
public boolean matches(String pattern,
boolean ignoreCase)
AbstractVectorMetaData
matches in class AbstractVectorMetaDatapattern - The pattern to match.ignoreCase - set true to ignore case considerations.
true if the pattern matches.AbstractVectorMetaData.matches(Pattern),
AbstractVectorMetaData.matches(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||