COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.util
Class FileHelper

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.util.FileHelper

public class FileHelper
extends java.lang.Object

FileHelper provides file helper apis


Constructor Summary
FileHelper()
           
 
Method Summary
static java.io.InputStream getResourceAsStream(java.lang.String name)
          Returns an input stream for reading the specified resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHelper

public FileHelper()
Method Detail

getResourceAsStream

public static java.io.InputStream getResourceAsStream(java.lang.String name)
Returns an input stream for reading the specified resource. The search order is described in the documentation for #getResource(String).

Parameters:
name - the resource name
Returns:
an input stream for reading the resource, or null if the resource could not be found

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification