public long index ( ) { return Long . valueOf ( file . getName ( ) . substring ( file . getName ( ) . lastIndexOf ( PART_SEPARATOR , file . getName ( ) . lastIndexOf ( PART_SEPARATOR ) - 1 ) + 1 , file . getName ( ) . lastIndexOf ( PART_SEPARATOR ) ) ) ; }
Returns the snapshot index .