Tabnine Logo
ClasspathPattern$PackageEntry
Code IndexAdd Tabnine to your IDE (free)

How to use
ClasspathPattern$PackageEntry
in
org.eclipse.jetty.webapp

Best Java code snippets using org.eclipse.jetty.webapp.ClasspathPattern$PackageEntry (Showing top 2 results out of 315)

origin: org.eclipse.jetty/jetty-webapp

protected Entry newEntry(String name, boolean inclusive)
{
  if (name.startsWith("-"))
    throw new IllegalStateException(name);
  if (name.startsWith("file:"))
    return new LocationEntry(name, inclusive);
  if (name.startsWith("jrt:"))
    return new ModuleEntry(name, inclusive);
  if (name.endsWith("."))
    return new PackageEntry(name, inclusive);
  return new ClassEntry(name,inclusive);
}
origin: jenkinsci/winstone

protected Entry newEntry(String name, boolean inclusive)
{
  if (name.startsWith("-"))
    throw new IllegalStateException(name);
  if (name.startsWith("file:"))
    return new LocationEntry(name, inclusive);
  if (name.startsWith("jrt:"))
    return new ModuleEntry(name, inclusive);
  if (name.endsWith("."))
    return new PackageEntry(name, inclusive);
  return new ClassEntry(name,inclusive);
}
org.eclipse.jetty.webappClasspathPattern$PackageEntry

Most used methods

  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JList (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now