Interface FileName

  • All Known Implementing Classes:
    FileNameImpl

    public interface FileName
    A model to represent file names - comprising a base name, a content type part and a list of encodings
    Author:
    raven
    • Method Detail

      • getBaseName

        String getBaseName()
      • getContentPart

        String getContentPart()
      • getEncodingParts

        List<String> getEncodingParts()
      • getExtension

        String getExtension​(boolean precedeWithDotIfNotEmpty)
        The concatenation of contentPart and encoding parts (joined with dot) without a preceding dot