public class org.apache.commons.vfs2.util.MonitorOutputStream extends java.io.BufferedOutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.commons.vfs2.util.MonitorOutputStream
  super_class: java.io.BufferedOutputStream
{
  private final java.util.concurrent.atomic.AtomicBoolean finished;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
        start local 1 // java.io.OutputStream out
         0: .line 39
            aload 0 /* this */
            aload 1 /* out */
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
         1: .line 31
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iconst_0
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            putfield org.apache.commons.vfs2.util.MonitorOutputStream.finished:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 40
            return
        end local 1 // java.io.OutputStream out
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            0    3     1   out  Ljava/io/OutputStream;
    MethodParameters:
      Name  Flags
      out   final

  public void <init>(java.io.OutputStream, int);
    descriptor: (Ljava/io/OutputStream;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
        start local 1 // java.io.OutputStream out
        start local 2 // int bufferSize
         0: .line 50
            aload 0 /* this */
            aload 1 /* out */
            iload 2 /* bufferSize */
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
         1: .line 31
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            iconst_0
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
            putfield org.apache.commons.vfs2.util.MonitorOutputStream.finished:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 51
            return
        end local 2 // int bufferSize
        end local 1 // java.io.OutputStream out
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            0    3     1         out  Ljava/io/OutputStream;
            0    3     2  bufferSize  I
    MethodParameters:
            Name  Flags
      out         final
      bufferSize  final

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
         0: .line 70
            aload 0 /* this */
            getfield org.apache.commons.vfs2.util.MonitorOutputStream.finished:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.getAndSet:(Z)Z
            ifeq 2
         1: .line 71
            return
         2: .line 74
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 1 /* exc */
        start local 1 // java.io.IOException exc
         3: .line 78
            aload 0 /* this */
            invokespecial java.io.BufferedOutputStream.flush:()V
         4: .line 79
            goto 7
      StackMap locals: org.apache.commons.vfs2.util.MonitorOutputStream java.io.IOException
      StackMap stack: java.io.IOException
         5: astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
         6: .line 80
            aload 2 /* ioe */
            astore 1 /* exc */
        end local 2 // java.io.IOException ioe
         7: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.io.BufferedOutputStream.out:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         8: .line 86
            goto 11
      StackMap locals:
      StackMap stack: java.io.IOException
         9: astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
        10: .line 87
            aload 2 /* ioe */
            astore 1 /* exc */
        end local 2 // java.io.IOException ioe
        11: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.commons.vfs2.util.MonitorOutputStream.onClose:()V
        12: .line 93
            goto 15
      StackMap locals:
      StackMap stack: java.io.IOException
        13: astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
        14: .line 94
            aload 2 /* ioe */
            astore 1 /* exc */
        end local 2 // java.io.IOException ioe
        15: .line 97
      StackMap locals:
      StackMap stack:
            aload 1 /* exc */
            ifnull 17
        16: .line 98
            aload 1 /* exc */
            athrow
        17: .line 100
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.IOException exc
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            3   18     1   exc  Ljava/io/IOException;
            6    7     2   ioe  Ljava/io/IOException;
           10   11     2   ioe  Ljava/io/IOException;
           14   15     2   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOException
           7     8       9  Class java.io.IOException
          11    12      13  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public synchronized void write(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
        start local 1 // int b
         0: .line 109
            aload 0 /* this */
            invokevirtual org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen:()V
         1: .line 110
            aload 0 /* this */
            iload 1 /* b */
            invokespecial java.io.BufferedOutputStream.write:(I)V
         2: .line 111
            return
        end local 1 // int b
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            0    3     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final

  public synchronized void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 122
            aload 0 /* this */
            invokevirtual org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen:()V
         1: .line 123
            aload 0 /* this */
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokespecial java.io.BufferedOutputStream.write:([BII)V
         2: .line 124
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            0    3     1     b  [B
            0    3     2   off  I
            0    3     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final
      off   final
      len   final

  public synchronized void flush();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
         0: .line 132
            aload 0 /* this */
            invokevirtual org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen:()V
         1: .line 133
            aload 0 /* this */
            invokespecial java.io.BufferedOutputStream.flush:()V
         2: .line 134
            return
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
    Exceptions:
      throws java.io.IOException

  public void write(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
        start local 1 // byte[] b
         0: .line 143
            aload 0 /* this */
            invokevirtual org.apache.commons.vfs2.util.MonitorOutputStream.assertOpen:()V
         1: .line 144
            aload 0 /* this */
            aload 1 /* b */
            invokespecial java.io.BufferedOutputStream.write:([B)V
         2: .line 145
            return
        end local 1 // byte[] b
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
            0    3     1     b  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     final

  protected void assertOpen();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
         0: .line 158
            aload 0 /* this */
            getfield org.apache.commons.vfs2.util.MonitorOutputStream.finished:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifeq 2
         1: .line 159
            new org.apache.commons.vfs2.FileSystemException
            dup
            ldc "vfs.provider/closed.error"
            invokespecial org.apache.commons.vfs2.FileSystemException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 161
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
    Exceptions:
      throws org.apache.commons.vfs2.FileSystemException

  protected void onClose();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
         0: .line 173
            return
        end local 0 // org.apache.commons.vfs2.util.MonitorOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/commons/vfs2/util/MonitorOutputStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "MonitorOutputStream.java"