agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/util/DomainSetup.java
/**
     * Given a list of files with json content create a list of JsonObjects
     * @param files
     * @return List of JSONObjects from a list of with File types
     * @throws java.io.IOException
     * @throws org.json.JSONException
     */
Given a list of files with json content create a list of JsonObjects
@param files
@return List of JSONObjects from a list of with File types
@throws java.io.IOException
@throws org.json.JSONException
Given a list of files with json content create a list of JsonObjects @param files @return List of JSONObjects from a list of with File types @throws java . io . IOException @throws org . json . JSONException
private List<JSONObject> listOfJsonObjects(List<File> files) throws IOException, JSONException {
        List<JSONObject> jsonObjects = new ArrayList<JSONObject>();
        for(File file : files){
            jsonObjects.add(jtd.getTestDataObject(file));
        }
        return jsonObjects;
    }
private List < JSONObject > listOfJsonObjects ( List < File > files ) throws IOException , JSONException { List < JSONObject > jsonObjects = new ArrayList < JSONObject > ( ) ; for ( File file : files ) { jsonObjects . add ( jtd . getTestDataObject ( file ) ) ; } return jsonObjects ; }
Given a list of files with json content create a list of JsonObjects
 @param files
 @return List of JSONObjects from a list of with File types
 @throws java.io.IOException
 @throws org.json.JSONException
Given a list of files with json content create a list of JsonObjects @param files @return List of JSONObjects from a list of with File types @throws java . io . IOException @throws org . json . JSONException