congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CueParser.parse
Code IndexAdd Tabnine to your IDE (free)

How to use
parse
method
in
jwbroek.cuelib.CueParser

Best Java code snippets using jwbroek.cuelib.CueParser.parse (Showing top 5 results out of 315)

origin: tulskiy/musique

/**
 * Parse a cue sheet file.
 *
 * @param file A cue sheet file.
 * @return A representation of the cue sheet.
 * @throws IOException
 */
public static CueSheet parse(final File file) throws IOException {
  CueParser.logger.entering(CueParser.class.getCanonicalName(), "parse(File)", file);
  final CueSheet result = CueParser.parse(new LineNumberReader(new FileReader(file)));
  CueParser.logger.exiting(CueParser.class.getCanonicalName(), "parse(File)", result);
  return result;
}
origin: tulskiy/musique

/**
 * Parse a cue sheet that will be read from the InputStream.
 *
 * @param inputStream An {@link java.io.InputStream} that produces a cue sheet. The stream will be closed
 *                    afterward.
 * @return A representation of the cue sheet.
 * @throws IOException
 */
public static CueSheet parse(final InputStream inputStream) throws IOException {
  CueParser.logger.entering(CueParser.class.getCanonicalName(), "parse(InputStream)", inputStream);
  final CueSheet result = CueParser.parse(new LineNumberReader(new InputStreamReader(inputStream)));
  CueParser.logger.exiting(CueParser.class.getCanonicalName(), "parse(InputStream)", result);
  return result;
}
origin: tulskiy/musique

sheet = CueParser.parse(file);
origin: tulskiy/musique

      new FileInputStream(file), AudioFileReader.getDefaultCharset()));
CueSheet cueSheet = CueParser.parse(numberReader);
origin: tulskiy/musique

public void parse(List<Track> list, Track file, LineNumberReader cueStream, boolean embedded) {
  try {
    CueSheet cueSheet = CueParser.parse(cueStream);
    List<FileData> datas = cueSheet.getFileData();
    String cueLocation = file.getTrackData().getFile().getAbsolutePath();
jwbroek.cuelibCueParserparse

Javadoc

Parse a cue sheet file.

Popular methods of CueParser

  • addWarning
    Write a warning to the logging and the jwbroek.cuelib.CueSheet associated with the jwbroek.cuelib.Li
  • contains
    Determine if the input contains the specified pattern. Will return true if it matches. If there is a
  • getLastFileData
    Get the last jwbroek.cuelib.FileData element. If none exist, an empty one is created and a warning a
  • getLastTrackData
    Get the last jwbroek.cuelib.TrackData element. If none exist, an empty one is created and a warning
  • parseCatalog
    Parse the CATALOG command. CATALOG [media-catalog-number] CD catalog number. Code follows UPC/EAN ru
  • parseCdTextFile
    Parse the CDTEXTFILE command. CDTEXTFILE [filename] File that contains cd text data. Not mandatory.
  • parseFile
    Parse the FILE command. FILE [filename] [filetype] File containing data. According to the spec it mu
  • parseFlags
    Parse the FLAGS command. FLAGS [flags] Track subcode flags. Rarely used according to spec.
  • parseIndex
    Parse the INDEX command. INDEX [number] [mm:ss:ff] Indexes or subindexes within a track. Relative w.
  • parseIsrc
    Parse the ISRC command. ISRC [code] International Standard Recording Code of track. Must come after
  • parsePerformer
    Parse the PERFORMER command. PERFORMER [performer-string] Performer of album/TRACK. [performer-str
  • parsePosition
    Parse a position, as used by several commands. [mm:ss:ff] mm = minutes ss = seconds ff = frames (75
  • parsePerformer,
  • parsePosition,
  • parsePostgap,
  • parsePregap,
  • parseRem,
  • parseRemComment,
  • parseRemDate,
  • parseRemDiscid,
  • parseRemGenre

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now