congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FileData.getFile
Code IndexAdd Tabnine to your IDE (free)

How to use
getFile
method
in
jwbroek.cuelib.FileData

Best Java code snippets using jwbroek.cuelib.FileData.getFile (Showing top 3 results out of 315)

origin: tulskiy/musique

/**
 * Serialize the FileData.
 *
 * @param builder     The StringBuilder to serialize to.
 * @param fileData    The FileData to serialize.
 * @param indentation The current indentation.
 */
private void serializeFileData(final StringBuilder builder, final FileData fileData, final String indentation) {
  CueSheetSerializer.logger.entering
      (CueSheetSerializer.class.getCanonicalName()
          , "serializeFileData(StringBuilder,FileData,String)"
          , new Object[]{builder, fileData, indentation}
      );
  builder.append(indentation).append("FILE");
  if (fileData.getFile() != null) {
    builder.append(' ').append(quoteIfNecessary(fileData.getFile()));
  }
  if (fileData.getFileType() != null) {
    builder.append(' ').append(quoteIfNecessary(fileData.getFileType()));
  }
  builder.append('\n');
  for (TrackData trackData : fileData.getTrackData()) {
    serializeTrackData(builder, trackData, indentation + this.getIndentationValue());
  }
  CueSheetSerializer.logger.exiting
      (CueSheetSerializer.class.getCanonicalName(), "serializeFileData(StringBuilder,FileData,String)");
}
origin: tulskiy/musique

if (!embedded) {
  String parent = file.getTrackData().getFile().getParent();
  File referencedFile = new File(parent, fileData.getFile());
  if (!referencedFile.exists())
    continue;
origin: tulskiy/musique

/**
 * Serialize the FileData.
 * @param parentElement The parent element for the FileData.
 * @param fileData The FileData to serialize.
 */
private void serializeFileData(final Element parentElement, final FileData fileData)
{
 CueSheetToXmlSerializer.logger.entering
  ( CueSheetToXmlSerializer.class.getCanonicalName()
  , "serializeFileData(Element,FileData)"
  , new Object[] {parentElement, fileData}
  );
 Document doc = parentElement.getOwnerDocument();
 Element fileElement = doc.createElementNS(this.namespace, "file");
 parentElement.appendChild(fileElement);
 
 addAttribute(fileElement, "file", fileData.getFile());
 addAttribute(fileElement, "type", fileData.getFileType());
 
 for (TrackData trackData : fileData.getTrackData())
 {
  serializeTrackData(fileElement, trackData);
 }
 CueSheetToXmlSerializer.logger.exiting
  (CueSheetToXmlSerializer.class.getCanonicalName(), "serializeFileData(Element,FileData)");
}
jwbroek.cuelibFileDatagetFile

Javadoc

Get the file that this FileData applies to. May be null, though this is not compliant.

Popular methods of FileData

  • getTrackData
    Get the track data for this file data.
  • <init>
    Create a new FileData instance.
  • 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

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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