com.ibm.websphere.logging.hpel.reader

Interface GenericFile


  1. public interface GenericFile
Interface representing extension of File requiring special methods for finding child instances and to return InputStream providing file's content.

Method Summary

Modifier and Type Method and Description
  1. java.io.File
getChild(java.lang.String name)
Returns child instance with the provided name.
  1. java.io.InputStream
getInputStream()
Returns input stream of this file content.

Method Detail

getChild

  1. java.io.File getChild(java.lang.String name)
Returns child instance with the provided name.
Parameters:
name - name of the child instance
Returns:
instance of the same class representing the child instance.

getInputStream

  1. java.io.InputStream getInputStream( )
  2. throws java.io.IOException
Returns input stream of this file content.
Returns:
input stream instance providing access to this file content
Throws:
java.io.IOException - if problem happens to open input stream