private InputStream openContentStream(){
  String contents="class Airline { \n" + "singleton;\n" + "name = \"DEFAULT_NAME\";\n"+ "}";
  return new ByteArrayInputStream(contents.getBytes());
}

private InputStream openContentStream ( ) { String contents = "class Airline { \n" + "singleton;\n" + "name = \"DEFAULT_NAME\";\n" + "}" ; return new ByteArrayInputStream ( contents . getBytes ( ) ) ; }
we will initialize file contents with a sample text .
