Class RootFile

java.lang.Object
org.audiveris.proxymusic.mxl.RootFile

public class RootFile extends Object
Class RootFile represents a file entry in MXL Container.
Author:
Hervé Bitteur
  • Field Details

    • MUSICXML_MEDIA_TYPE

      public static final String MUSICXML_MEDIA_TYPE
      Media type for an uncompressed MusicXML file (default).
      See Also:
    • COMPRESSED_MUSICXML_MEDIA_TYPE

      public static final String COMPRESSED_MUSICXML_MEDIA_TYPE
      Media type for a compressed MusicXML file.
      See Also:
    • fullPath

      public final String fullPath
      Full path. Path relative to the root folder of the zip file
    • mediaType

      public final String mediaType
      Media type. It identifies the type of different top-level root files
  • Constructor Details

    • RootFile

      public RootFile(String fullPath)
      Creates a new RootFile object.
      Parameters:
      fullPath - path to the file, relative to root folder
    • RootFile

      public RootFile(String fullPath, String mediaType)
      Creates a new RootFile object with a specific media type.
      Parameters:
      fullPath - path to the file, relative to root folder
      mediaType - type of file
  • Method Details