Class ASFilenameMetadataParsing


  • public final class ASFilenameMetadataParsing
    extends java.lang.Object
    Functions to parse metadata from shipilev.net file names.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<ASFilenameMetadata> parseFilename​(java.lang.String tag, java.lang.String name)
      Parse metadata from the given filename.
      • Methods inherited from class java.lang.Object

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

      • parseFilename

        public static java.util.Optional<ASFilenameMetadata> parseFilename​(java.lang.String tag,
                                                                           java.lang.String name)
        Parse metadata from the given filename.
        Parameters:
        tag - The build tag
        name - The name
        Returns:
        Parsed metadata, or nothing if parsing could not proceed