edu.mayo.informatics.lexgrid.convert.options
Class URIOption

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.options.AbstractBaseOption<T>
      extended by edu.mayo.informatics.lexgrid.convert.options.AbstractOption<java.net.URI>
          extended by edu.mayo.informatics.lexgrid.convert.options.URIOption
All Implemented Interfaces:
BaseOption<java.net.URI>, Option<java.net.URI>, URIOption

public class URIOption
extends AbstractOption<java.net.URI>
implements URIOption

The Class URIOption.

Author:
Kevin Peterson

Constructor Summary
URIOption(java.lang.String optionName)
          Instantiates a new uRI option.
 
Method Summary
 void addAllowedFileExtensions(java.lang.String allowedFileExtensions)
          Adds the allowed file extensions.
 java.util.List<java.lang.String> getAllowedFileExtensions()
          Gets the allowed file extensions.
 boolean isFolder()
          Checks if is folder.
 void setAllowedFileExtensions(java.util.List<java.lang.String> allowedFileExtensions)
          Sets the allowed file extensions.
 void setFolder(boolean isFolder)
          Sets the folder.
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.options.AbstractOption
getPickList, isMultipleSelectionsAllowed, setMultipleSelectionsAllowed, setPickList
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.options.AbstractBaseOption
getHelpText, getOptionName, getOptionValue, setHelpText, setOptionValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Load.options.Option
getPickList
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Load.options.BaseOption
getHelpText, getOptionName, getOptionValue, setOptionValue
 

Constructor Detail

URIOption

public URIOption(java.lang.String optionName)
Instantiates a new uRI option.

Parameters:
optionName - the option name
Method Detail

getAllowedFileExtensions

public java.util.List<java.lang.String> getAllowedFileExtensions()
Description copied from interface: URIOption
Gets the allowed file extensions.

Specified by:
getAllowedFileExtensions in interface URIOption
Returns:
the allowed file extensions

addAllowedFileExtensions

public void addAllowedFileExtensions(java.lang.String allowedFileExtensions)
Description copied from interface: URIOption
Adds the allowed file extensions.

Specified by:
addAllowedFileExtensions in interface URIOption
Parameters:
allowedFileExtensions - the allowed file extensions

setAllowedFileExtensions

public void setAllowedFileExtensions(java.util.List<java.lang.String> allowedFileExtensions)
Sets the allowed file extensions.

Parameters:
allowedFileExtensions - the new allowed file extensions

setFolder

public void setFolder(boolean isFolder)
Sets the folder.

Parameters:
isFolder - the new folder

isFolder

public boolean isFolder()
Description copied from interface: URIOption
Checks if is folder.

Specified by:
isFolder in interface URIOption
Returns:
true, if is folder

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.