Interface IOByteArrayEnumeration

All Superinterfaces:
IOEnumeration
All Known Subinterfaces:
ByteArrayEnumeration

public interface IOByteArrayEnumeration extends IOEnumeration
A typed IOEnumeration that returns byte[]'s
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checks whether any more byte arrays remain in the enumeration.
    boolean
    checks whether any more byte arrays remain in the enumeration.
    byte[]
    gets the next byte[] in the enumeration.
    gets the next byte[] in the enumeration, returning it as an Object.
  • Method Details

    • nextBytes

      byte[] nextBytes() throws IOException
      gets the next byte[] in the enumeration. Throws NoSuchElementException if no more byte arrays remain.
      Throws:
      IOException
    • hasMoreBytes

      boolean hasMoreBytes() throws IOException
      checks whether any more byte arrays remain in the enumeration.
      Throws:
      IOException
    • nextElement

      Object nextElement() throws IOException
      gets the next byte[] in the enumeration, returning it as an Object. Throws NoSuchElementException if no more byte arrays remain.
      Specified by:
      nextElement in interface IOEnumeration
      Throws:
      IOException
    • hasMoreElements

      boolean hasMoreElements() throws IOException
      checks whether any more byte arrays remain in the enumeration.
      Specified by:
      hasMoreElements in interface IOEnumeration
      Throws:
      IOException