/** * Read (de-serialize) a link collection from <code>content</code> (as {@link InputStream}) * in specified format (given as <code>contentType</code>) based on <code>entity data model</code> * (given as {@link EdmEntitySet}) and provide the links as List of Strings. * * @param contentType format of content in the given input stream. * @param entitySet entity data model for entity property to be read * @param content data in form of an {@link InputStream} which contains the data in specified format * @return links as List of Strings * @throws EntityProviderException if reading of data (de-serialization) fails */ public static List<String> readLinks(final String contentType, final EdmEntitySet entitySet, final InputStream content) throws EntityProviderException { return createEntityProvider().readLinks(contentType, entitySet, content); }
/** * Read (de-serialize) a link collection from <code>content</code> (as {@link InputStream}) * in specified format (given as <code>contentType</code>) based on <code>entity data model</code> * (given as {@link EdmEntitySet}) and provide the links as List of Strings. * * @param contentType format of content in the given input stream. * @param entitySet entity data model for entity property to be read * @param content data in form of an {@link InputStream} which contains the data in specified format * @return links as List of Strings * @throws EntityProviderException if reading of data (de-serialization) fails */ public static List<String> readLinks(final String contentType, final EdmEntitySet entitySet, final InputStream content) throws EntityProviderException { return createEntityProvider().readLinks(contentType, entitySet, content); }
/** * Read (de-serialize) a link collection from <code>content</code> (as {@link InputStream}) * in specified format (given as <code>contentType</code>) based on <code>entity data model</code> * (given as {@link EdmEntitySet}) and provide the links as List of Strings. * * @param contentType format of content in the given input stream. * @param entitySet entity data model for entity property to be read * @param content data in form of an {@link InputStream} which contains the data in specified format * @return links as List of Strings * @throws EntityProviderException if reading of data (de-serialization) fails */ public static List<String> readLinks(final String contentType, final EdmEntitySet entitySet, final InputStream content) throws EntityProviderException { return createEntityProvider().readLinks(contentType, entitySet, content); }
/** * Read (de-serialize) a link collection from <code>content</code> (as {@link InputStream}) * in specified format (given as <code>contentType</code>) based on <code>entity data model</code> * (given as {@link EdmEntitySet}) and provide the links as List of Strings. * * @param contentType format of content in the given input stream. * @param entitySet entity data model for entity property to be read * @param content data in form of an {@link InputStream} which contains the data in specified format * @return links as List of Strings * @throws EntityProviderException if reading of data (de-serialization) fails */ public static List<String> readLinks(final String contentType, final EdmEntitySet entitySet, final InputStream content) throws EntityProviderException { return createEntityProvider().readLinks(contentType, entitySet, content); }