agave-apps/apps-core/src/test/java/org/iplantc/service/apps/util/DomainSetup.java
/**
     * Turn a file with json content into a String
     * @param pathToFile path to the file with json content
     * @return String from a file with json content
     */
Turn a file with json content into a String
@param pathToFile path to the file with json content
@return String from a file with json content
Turn a file with json content into a String @param pathToFile path to the file with json content @return String from a file with json content
public String retrieveDataFileAsString(String pathToFile){
        String contents = null;
        try {
            contents = FileUtils.readFileToString(new File(pathToFile));
        } catch (IOException e) {
            e.printStackTrace();
        }
        return contents;
    }
public String retrieveDataFileAsString ( String pathToFile ) { String contents = null ; try { contents = FileUtils . readFileToString ( new File ( pathToFile ) ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } return contents ; }
Turn a file with json content into a String
 @param pathToFile path to the file with json content
 @return String from a file with json content
Turn a file with json content into a String @param pathToFile path to the file with json content @return String from a file with json content