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
{
  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 30
            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 37
            aload 0 /* this */
            invokespecial org.apache.catalina.webresources.AbstractResourceSet.<init>:()V
         1: .line 35
            aload 0 /* this */
            iconst_0
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.readOnly:Z
         2: .line 38
            aload 0 /* this */
            aload 1 /* internalPath */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.setInternalPath:(Ljava/lang/String;)V
         3: .line 39
            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 42
            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 47
            aload 0 /* this */
            iload 1 /* readOnly */
            putfield org.apache.catalina.webresources.AbstractFileResourceSet.readOnly:Z
         1: .line 48
            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 52
            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=4, locals=6, 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 57
            aload 1 /* name */
            ldc "/"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 58
            ldc ""
            astore 1 /* name */
         2: .line 60
      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 65
            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 66
            aconst_null
            areturn
         5: .line 71
      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 72
            aconst_null
            areturn
         7: .line 77
      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 78
            aload 3 /* file */
            areturn
         9: .line 83
      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 84
            aconst_null
            areturn
        11: .line 88
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 4 /* canPath */
        start local 4 // java.lang.String canPath
        12: .line 90
            aload 3 /* file */
            invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
            astore 4 /* canPath */
        13: .line 91
            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 94
      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 95
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        17: .line 105
      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 106
            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 107
            aconst_null
            areturn
        20: .line 113
      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 114
            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 127
            aload 4 /* canPath */
            invokevirtual java.lang.String.length:()I
            ifle 24
        23: .line 128
            aload 0 /* this */
            aload 4 /* canPath */
            invokevirtual org.apache.catalina.webresources.AbstractFileResourceSet.normalize:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* canPath */
        24: .line 130
      StackMap locals:
      StackMap stack:
            aload 4 /* canPath */
            aload 5 /* absPath */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 26
        25: .line 131
            aconst_null
            areturn
        26: .line 134
      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   27     0       this  Lorg/apache/catalina/webresources/AbstractFileResourceSet;
            0   27     1       name  Ljava/lang/String;
            0   27     2  mustExist  Z
            3   27     3       file  Ljava/io/File;
           12   27     4    canPath  Ljava/lang/String;
           18   27     5    absPath  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 139
            aload 1 /* name */
            invokevirtual java.lang.String.length:()I
            istore 2 /* len */
        start local 2 // int len
         1: .line 140
            iload 2 /* len */
            ifne 3
         2: .line 141
            iconst_0
            ireturn
         3: .line 145
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 9
         5: .line 146
      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 147
            iload 4 /* c */
            bipush 34
            if_icmpeq 7
            iload 4 /* c */
            bipush 60
            if_icmpeq 7
            iload 4 /* c */
            bipush 62
            if_icmpne 8
         7: .line 154
      StackMap locals: int
      StackMap stack:
            iconst_1
            ireturn
        end local 4 // char c
         8: .line 145
      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 161
            aload 1 /* name */
            iload 2 /* len */
            iconst_1
            isub
            invokevirtual java.lang.String.charAt:(I)C
            bipush 32
            if_icmpne 12
        11: .line 162
            iconst_1
            ireturn
        12: .line 164
      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 178
            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 184
            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 185
      StackMap locals:
      StackMap stack: java.net.MalformedURLException
            pop
         3: .line 186
            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 198
            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 205
            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 206
            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 208
            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 211
            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 212
            goto 7
      StackMap locals:
      StackMap stack: java.io.IOException
         5: astore 1 /* e */
        start local 1 // java.io.IOException e
         6: .line 213
            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 215
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.catalina.webresources.AbstractFileResourceSet this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     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"