public abstract class org.apache.catalina.webresources.AbstractFileResourceSet extends org.apache.catalina.webresources.AbstractResourceSet
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.apache.catalina.webresources.AbstractFileResourceSet
  super_class: org.apache.catalina.webresources.AbstractResourceSet
{
  private static final org.apache.juli.logging.Log log;
    descriptor: Lorg/apache/juli/logging/Log;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  protected static final java.lang.String[] EMPTY_STRING_ARRAY;
    descriptor: [Ljava/lang/String;
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL

  private java.io.File fileBase;
    descriptor: Ljava/io/File;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String absoluteBase;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String canonicalBase;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private boolean readOnly;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 32
            ldc Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
            putstatic org.apache.catalina.webresources.AbstractFileResourceSet.log:Lorg/apache/juli/logging/Log;
         1: .line 34
            iconst_0
            anewarray java.lang.String
            putstatic org.apache.catalina.webresources.AbstractFileResourceSet.EMPTY_STRING_ARRAY:[Ljava/lang/String;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
        start local 1 // java.lang.String internalPath
         0: .line 41
            aload 0 /* this */
            invokespecial org.apache.catalina.webresources.AbstractResourceSet.<init>:()V
         1: .line 39
            aload 0 /* this */
            iconst_0
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.readOnly:Z
         2: .line 42
            aload 0 /* this */
            aload 1 /* internalPath */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.setInternalPath:(Ljava/lang/String;)V
         3: .line 43
            return
        end local 1 // java.lang.String internalPath
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0    4     1  internalPath  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      internalPath  

  protected final java.io.File getFileBase();
    descriptor: ()Ljava/io/File;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
         0: .line 46
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
            areturn
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;

  public void setReadOnly(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
        start local 1 // boolean readOnly
         0: .line 51
            aload 0 /* this */
            iload 1 /* readOnly */
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.readOnly:Z
         1: .line 52
            return
        end local 1 // boolean readOnly
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0    2     1  readOnly  Z
    MethodParameters:
          Name  Flags
      readOnly  

  public boolean isReadOnly();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
         0: .line 56
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.readOnly:Z
            ireturn
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;

  protected final java.io.File file(java.lang.String, boolean);
    descriptor: (Ljava/lang/String;Z)Ljava/io/File;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
        start local 1 // java.lang.String name
        start local 2 // boolean mustExist
         0: .line 61
            aload 1 /* name */
            ldc "/"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 62
            ldc ""
            astore 1 /* name */
         2: .line 64
      StackMap locals:
      StackMap stack:
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
            aload 1 /* name */
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            astore 3 /* file */
        start local 3 // java.io.File file
         3: .line 69
            aload 1 /* name */
            ldc "/"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 5
            aload 3 /* file */
            invokevirtual java.io.File.isFile:()Z
            ifeq 5
         4: .line 70
            aconst_null
            areturn
         5: .line 75
      StackMap locals: java.io.File
      StackMap stack:
            iload 2 /* mustExist */
            ifeq 7
            aload 3 /* file */
            invokevirtual java.io.File.canRead:()Z
            ifne 7
         6: .line 76
            aconst_null
            areturn
         7: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.getRoot:()Lorg/apache/catalina/WebResourceRoot;
            invokeinterface org.apache.catalina.WebResourceRoot.getAllowLinking:()Z
            ifeq 9
         8: .line 82
            aload 3 /* file */
            areturn
         9: .line 87
      StackMap locals:
      StackMap stack:
            getstatic org.apache.tomcat.util.compat.JrePlatform.IS_WINDOWS:Z
            ifeq 11
            aload 0 /* this */
            aload 1 /* name */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.isInvalidWindowsFilename:(Ljava/lang/String;)Z
            ifeq 11
        10: .line 88
            aconst_null
            areturn
        11: .line 92
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 4 /* canPath */
        start local 4 // java.lang.String canPath
        12: .line 94
            aload 3 /* file */
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            astore 4 /* canPath */
        13: .line 95
            goto 15
      StackMap locals: org.apache.catalina.webresources.AbstractFileResourceSet java.lang.String int java.io.File java.lang.String
      StackMap stack: java.io.IOException
        14: pop
        15: .line 98
      StackMap locals:
      StackMap stack:
            aload 4 /* canPath */
            ifnull 16
            aload 4 /* canPath */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.canonicalBase:Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 17
        16: .line 99
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        17: .line 109
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* file */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.normalize:(Ljava/lang/String;)Ljava/lang/String;
            astore 5 /* absPath */
        start local 5 // java.lang.String absPath
        18: .line 110
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.absoluteBase:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            aload 5 /* absPath */
            invokevirtual java.lang.String.length:()I
            if_icmple 20
        19: .line 111
            aconst_null
            areturn
        20: .line 117
      StackMap locals: java.lang.String
      StackMap stack:
            aload 5 /* absPath */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.absoluteBase:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 5 /* absPath */
        21: .line 118
            aload 4 /* canPath */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.canonicalBase:Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 4 /* canPath */
        22: .line 131
            aload 4 /* canPath */
            invokevirtual java.lang.String.length:()I
            ifle 24
        23: .line 132
            aload 0 /* this */
            aload 4 /* canPath */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.normalize:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* canPath */
        24: .line 134
      StackMap locals:
      StackMap stack:
            aload 4 /* canPath */
            aload 5 /* absPath */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 34
        25: .line 135
            aload 4 /* canPath */
            aload 5 /* absPath */
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifne 33
        26: .line 139
            getstatic org.apache.catalina.webresources.AbstractFileResourceSet.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "abstractFileResourceSet.canonicalfileCheckFailed"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
        27: .line 140
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.getRoot:()Lorg/apache/catalina/WebResourceRoot;
            invokeinterface org.apache.catalina.WebResourceRoot.getContext:()Lorg/apache/catalina/Context;
            invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 5 /* absPath */
            aastore
            dup
            iconst_2
            aload 4 /* canPath */
            aastore
        28: .line 139
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            astore 6 /* msg */
        start local 6 // java.lang.String msg
        29: .line 142
            aload 5 /* absPath */
            ldc "/META-INF/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 30
            aload 5 /* absPath */
            ldc "/WEB-INF/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 32
        30: .line 143
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic org.apache.catalina.webresources.AbstractFileResourceSet.log:Lorg/apache/juli/logging/Log;
            aload 6 /* msg */
            invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
        31: .line 144
            goto 33
        32: .line 145
      StackMap locals:
      StackMap stack:
            getstatic org.apache.catalina.webresources.AbstractFileResourceSet.log:Lorg/apache/juli/logging/Log;
            aload 6 /* msg */
            invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
        end local 6 // java.lang.String msg
        33: .line 148
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        34: .line 151
      StackMap locals:
      StackMap stack:
            aload 3 /* file */
            areturn
        end local 5 // java.lang.String absPath
        end local 4 // java.lang.String canPath
        end local 3 // java.io.File file
        end local 2 // boolean mustExist
        end local 1 // java.lang.String name
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   35     0       this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0   35     1       name  Ljava/lang/String;
            0   35     2  mustExist  Z
            3   35     3       file  Ljava/io/File;
           12   35     4    canPath  Ljava/lang/String;
           18   35     5    absPath  Ljava/lang/String;
           29   33     6        msg  Ljava/lang/String;
      Exception table:
        from    to  target  type
          12    13      14  Class java.io.IOException
    MethodParameters:
           Name  Flags
      name       
      mustExist  

  private boolean isInvalidWindowsFilename(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
        start local 1 // java.lang.String name
         0: .line 156
            aload 1 /* name */
            invokevirtual java.lang.String.length:()I
            istore 2 /* len */
        start local 2 // int len
         1: .line 157
            iload 2 /* len */
            ifne 3
         2: .line 158
            iconst_0
            ireturn
         3: .line 162
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 9
         5: .line 163
      StackMap locals: int
      StackMap stack:
            aload 1 /* name */
            iload 3 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 4 /* c */
        start local 4 // char c
         6: .line 164
            iload 4 /* c */
            bipush 34
            if_icmpeq 7
            iload 4 /* c */
            bipush 60
            if_icmpeq 7
            iload 4 /* c */
            bipush 62
            if_icmpeq 7
            iload 4 /* c */
            bipush 58
            if_icmpne 8
         7: .line 171
      StackMap locals: int
      StackMap stack:
            iconst_1
            ireturn
        end local 4 // char c
         8: .line 162
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 3 /* i */
            iload 2 /* len */
            if_icmplt 5
        end local 3 // int i
        10: .line 178
            aload 1 /* name */
            iload 2 /* len */
            iconst_1
            isub
            invokevirtual java.lang.String.charAt:(I)C
            bipush 32
            if_icmpne 12
        11: .line 179
            iconst_1
            ireturn
        12: .line 181
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 2 // int len
        end local 1 // java.lang.String name
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0   13     1  name  Ljava/lang/String;
            1   13     2   len  I
            4   10     3     i  I
            6    8     4     c  C
    MethodParameters:
      Name  Flags
      name  

  private java.lang.String normalize(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
        start local 1 // java.lang.String path
         0: .line 195
            aload 1 /* path */
            getstatic java.io.File.separatorChar:C
            bipush 92
            if_icmpne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack: java.lang.String
         1: iconst_0
      StackMap locals: org.apache.catalina.webresources.AbstractFileResourceSet java.lang.String
      StackMap stack: java.lang.String int
         2: invokestatic org.apache.tomcat.util.http.RequestUtil.normalize:(Ljava/lang/String;Z)Ljava/lang/String;
            areturn
        end local 1 // java.lang.String path
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0    3     1  path  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  

  public java.net.URL getBaseUrl();
    descriptor: ()Ljava/net/URL;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
         0: .line 201
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.getFileBase:()Ljava/io/File;
            invokevirtual java.io.File.toURI:()Ljava/net/URI;
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
         1: areturn
         2: .line 202
      StackMap locals:
      StackMap stack: java.net.MalformedURLException
            pop
         3: .line 203
            aconst_null
            areturn
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
      Exception table:
        from    to  target  type
           0     1       2  Class java.net.MalformedURLException

  public void gc();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
         0: .line 215
            return
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;

  protected void initInternal();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
         0: .line 222
            aload 0 /* this */
            new java.io.File
            dup
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.getBase:()Ljava/lang/String;
            aload 0 /* this */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.getInternalPath:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
         1: .line 223
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.checkType:(Ljava/io/File;)V
         2: .line 225
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.normalize:(Ljava/lang/String;)Ljava/lang/String;
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.absoluteBase:Ljava/lang/String;
         3: .line 228
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.fileBase:Ljava/io/File;
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.canonicalBase:Ljava/lang/String;
         4: .line 229
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         5: astore 1 /* e */
        start local 1 // java.io.IOException e
         6: .line 230
            new java.lang.IllegalArgumentException
            dup
            aload 1 /* e */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.io.IOException e
         7: .line 234
      StackMap locals:
      StackMap stack:
            ldc "/"
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.absoluteBase:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 9
         8: .line 235
            aload 0 /* this */
            ldc ""
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.absoluteBase:Ljava/lang/String;
         9: .line 237
      StackMap locals:
      StackMap stack:
            ldc "/"
            aload 0 /* this */
            getfield org.apache.catalina.webresources.AbstractFileResourceSet.canonicalBase:Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 238
            aload 0 /* this */
            ldc ""
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.canonicalBase:Ljava/lang/String;
        11: .line 240
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            6    7     1     e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOException
    Exceptions:
      throws org.apache.catalina.LifecycleException

  protected abstract void checkType(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
    MethodParameters:
      Name  Flags
      file  
}
SourceFile: "AbstractFileResourceSet.java"