gov.nasa.pds.report.profile
Class SimpleProfileManager

java.lang.Object
  extended by gov.nasa.pds.report.profile.SimpleProfileManager
All Implemented Interfaces:
ProfileManager

public class SimpleProfileManager
extends Object
implements ProfileManager

Author:
resneck Implementation of the ProfileManager interface that reads a simple [key]=[value] text file.

Constructor Summary
SimpleProfileManager()
           
 
Method Summary
 List<Properties> readProfiles(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProfileManager

public SimpleProfileManager()
Method Detail

readProfiles

public List<Properties> readProfiles(String path)
                              throws FileNotFoundException
Specified by:
readProfiles in interface ProfileManager
Parameters:
path - A String of the absolute path to the profile file or directory containing the profile files.
Returns:
A List of Properties containing all of the needed node information with one Properties per node.
Throws:
FileNotFoundException


Copyright © 2010–2014 Planetary Data System. All rights reserved.