Class WebLib

java.lang.Object
org.apache.jena.atlas.web.WebLib

public class WebLib extends Object
  • Constructor Details

    • WebLib

      public WebLib()
  • Method Details

    • split

      public static String[] split(String s, String splitStr)
      Split a string, removing whitespace around the split string. e.g. Use in splitting HTTP accept/content-type headers.
    • choosePort

      public static int choosePort()
      Choose an unused port for a server to listen on. Note: Fuseki main will start of "port 0", and then return the port actually allocated. This is atomic whereas "choosePort" does not reserve the port.