Codota Logo
FileData.<init>
Code IndexAdd Codota to your IDE (free)

How to use
jwbroek.cuelib.FileData
constructor

Best Java code snippets using jwbroek.cuelib.FileData.<init> (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: tulskiy/musique

/**
 * Get the last {@link jwbroek.cuelib.FileData} element. If none exist, an empty one is created and a warning
 * added.
 *
 * @param input
 * @return The last {@link jwbroek.cuelib.FileData} element. If none exist, an empty one is created and a warning
 *         added.
 */
private static FileData getLastFileData(final LineOfInput input) {
  CueParser.logger.entering(CueParser.class.getCanonicalName(), "getLastFileData(LineOfInput)", input);
  List<FileData> fileDataList = input.getAssociatedSheet().getFileData();
  if (fileDataList.size() == 0) {
    fileDataList.add(new FileData(input.getAssociatedSheet()));
    addWarning(input, WARNING_NO_FILE_SPECIFIED);
  }
  FileData result = fileDataList.get(fileDataList.size() - 1);
  CueParser.logger.exiting(CueParser.class.getCanonicalName(), "getLastFileData(LineOfInput)", result);
  return result;
}
origin: tulskiy/musique

input.getAssociatedSheet().getFileData().add(new FileData(input.getAssociatedSheet()
    , file
    , fileMatcher.group(2).toUpperCase()
jwbroek.cuelibFileData<init>

Javadoc

Create a new FileData instance.

Popular methods of FileData

  • getFile
    Get the file that this FileData applies to. May be null, though this is not compliant.
  • getTrackData
    Get the track data for this file data.
  • getAllIndices
    Get all indices of all tracks that belong to this file data.
  • getFileType
    Get the file type for this FileData. May be null, or any string value, though this is not necessaril
  • getParent
    Get the CueSheet that this FileData belongs to.

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JFileChooser (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now