/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. */ public static ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException, Exception { return ri.getContent( name ); }
/** * Returns a static content resource from the * resource manager. * * @param name Name of content resource to get * @param encoding Character encoding to use * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. */ public static ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException, Exception { return ri.getContent( name, encoding ); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getContent(String) */ public static ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException { return ri.getContent(name); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getContent(String) */ public static ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException { return ri.getContent( name ); }
/** * Returns a static content resource from the * resource manager. * * @param name Name of content resource to get * @param encoding Character encoding to use * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getContent(String, String) */ public static ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException { return ri.getContent( name, encoding ); }
/** * Returns a static content resource from the * resource manager. * * @param name Name of content resource to get * @param encoding Character encoding to use * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @see RuntimeInstance#getContent(String, String) */ public static ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException { return ri.getContent(name, encoding); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @throws Exception Any other error. * @see RuntimeInstance#getContent(String) */ public static ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException, Exception { return ri.getContent( name ); }
/** * Returns a static content resource from the * resource manager. * * @param name Name of content resource to get * @param encoding Character encoding to use * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @throws Exception Any other error. * @see RuntimeInstance#getContent(String, String) */ public static ContentResource getContent( String name, String encoding ) throws ResourceNotFoundException, ParseErrorException, Exception { return ri.getContent( name, encoding ); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException { /* * the encoding is irrelvant as we don't do any converstion * the bytestream should be dumped to the output stream */ return getContent(name, getDefaultEncoding()); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException, Exception { /* * the encoding is irrelvant as we don't do any converstion * the bytestream should be dumped to the output stream */ return getContent( name, getString( INPUT_ENCODING, ENCODING_DEFAULT)); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException { /* * the encoding is irrelvant as we don't do any converstion * the bytestream should be dumped to the output stream */ return getContent(name, getDefaultEncoding()); }
/** * Returns a static content resource from the * resource manager. Uses the current value * if INPUT_ENCODING as the character encoding. * * @param name Name of content resource to get * @return parsed ContentResource object ready for use * @throws ResourceNotFoundException if template not found * from any available source. * @throws ParseErrorException When the template could not be parsed. * @throws Exception Any other error. */ public ContentResource getContent(String name) throws ResourceNotFoundException, ParseErrorException, Exception { /* * the encoding is irrelvant as we don't do any converstion * the bytestream should be dumped to the output stream */ return getContent(name, getDefaultEncoding()); }