Package nxt.util

Class Search


  • public final class Search
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String detectMimeType​(byte[] data)  
      static java.lang.String detectMimeType​(byte[] data, java.lang.String filename)  
      static java.lang.String[] parseTags​(java.lang.String tags, int minTagLength, int maxTagLength, int maxTagCount)  
      • Methods inherited from class java.lang.Object

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

      • parseTags

        public static java.lang.String[] parseTags​(java.lang.String tags,
                                                   int minTagLength,
                                                   int maxTagLength,
                                                   int maxTagCount)
      • detectMimeType

        public static java.lang.String detectMimeType​(byte[] data,
                                                      java.lang.String filename)
      • detectMimeType

        public static java.lang.String detectMimeType​(byte[] data)