Skip to content

Commit 4479844

Browse files
Smaller changes and Javadoc
1 parent eb456e9 commit 4479844

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/main/java/io/frictionlessdata/datapackage/resource

src/main/java/io/frictionlessdata/datapackage/resource/Resource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public interface Resource<T,C> {
5050
*
5151
* The method can be configured to return table rows as:
5252
* <ul>
53-
* <li>String arrays</li>
53+
* <li>String arrays (parameter `cast` = false)</li>
5454
* <li>as Object arrays (parameter `cast` = true)</li>
5555
* <li>as a Map&lt;key,val&gt; where key is the header name, and val is the data (parameter `keyed` = true)</li>
5656
* <li>in an "extended" form (parameter `extended` = true) that returns an Object array where the first entry
@@ -81,7 +81,7 @@ public interface Resource<T,C> {
8181
* It therefore disregards the Schema set on the {@link io.frictionlessdata.tableschema.Table} the iterator works
8282
* on but creates its own Schema from the supplied `beanType`.
8383
*
84-
* @return Iterator that returns rows as bean-arrays.
84+
* @return List of rows as bean instances.
8585
* @param beanClass the Bean class this BeanIterator expects
8686
*/
8787
List<C> getData(Class<C> beanClass) throws Exception;

0 commit comments

Comments
 (0)