public long getSize ( final String fileName ) { final Long result = this . sizes . get ( fileName ) ; if ( result == null ) { throw new IllegalStateException ( String . format ( "Stream '%s' not closed or was not added" , fileName ) ) ; } return result ; }
Get the size of a closed file