org.jboss.example.dna.sequencer
Class ConsoleInput

java.lang.Object
  extended by org.jboss.example.dna.sequencer.ConsoleInput
All Implemented Interfaces:
UserInterface

public class ConsoleInput
extends Object
implements UserInterface

Author:
Randall Hauch

Constructor Summary
ConsoleInput(SequencingClient client)
           
 
Method Summary
 void displaySearchResults(List<ContentInfo> contentInfos)
           
 URL getFileToUpload()
          
 String getRepositoryPath(String defaultPath)
           
 String getStatistics(SequencingService.Statistics stats)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleInput

public ConsoleInput(SequencingClient client)
Method Detail

getFileToUpload

public URL getFileToUpload()
                    throws IllegalArgumentException,
                           IOException

Specified by:
getFileToUpload in interface UserInterface
Throws:
IllegalArgumentException
IOException

getRepositoryPath

public String getRepositoryPath(String defaultPath)
                         throws IllegalArgumentException,
                                IOException
Specified by:
getRepositoryPath in interface UserInterface
Throws:
IllegalArgumentException
IOException

displaySearchResults

public void displaySearchResults(List<ContentInfo> contentInfos)
Specified by:
displaySearchResults in interface UserInterface

getStatistics

public String getStatistics(SequencingService.Statistics stats)


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.