Codota Logo
FileData.getFileType
Code IndexAdd Codota to your IDE (free)

How to use
getFileType
method
in
jwbroek.cuelib.FileData

Best Java code snippets using jwbroek.cuelib.FileData.getFileType (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

/**
 * 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

/**
 * 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.cuelibFileDatagetFileType

Javadoc

Get the file type for this FileData. May be null, or any string value, though this is not necessarily compliant.

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.
  • <init>
    Create a new FileData instance.
  • getAllIndices
    Get all indices of all tracks that belong to this file data.
  • getParent
    Get the CueSheet that this FileData belongs to.

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JList (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