Package 

Class MimeTreeMagicContext

  • All Implemented Interfaces:
    io.github.asperan.mimeinfo.context.Context

    
    public final class MimeTreeMagicContext
     implements Context<TreeMagic>
                        

    The context for TreeMagic elements.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private UByte priority
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final UByte getPriority() Set the priority of the TreeMagic.
      final Unit setPriority(UByte priority)
      final Unit treematch(String path, Function1<MimeTreeMatchContext, Unit> configuration) Add a treematch child.
      TreeMagic build() Build the object of the context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MimeTreeMagicContext

        MimeTreeMagicContext()