Drools :: Eclipse :: Guvnor tools 6.1.0.Beta3

org.guvnor.tools.utils.webdav
Class StreamProcessingUtils

java.lang.Object
  extended by org.guvnor.tools.utils.webdav.StreamProcessingUtils

public class StreamProcessingUtils
extends Object

Utilities for dealing with streams.


Field Summary
protected static SimpleDateFormat GUNVOR_TOOLS_DATE_FORMAT
           
 
Constructor Summary
StreamProcessingUtils()
           
 
Method Summary
static String getStreamContents(InputStream is)
           
static String parseISODateFormat(String dateStr)
           
static Map<String,ResourceProperties> parseListing(String base, InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUNVOR_TOOLS_DATE_FORMAT

protected static final SimpleDateFormat GUNVOR_TOOLS_DATE_FORMAT
Constructor Detail

StreamProcessingUtils

public StreamProcessingUtils()
Method Detail

getStreamContents

public static String getStreamContents(InputStream is)
                                throws IOException
Throws:
IOException

parseListing

public static Map<String,ResourceProperties> parseListing(String base,
                                                          InputStream is)
                                                   throws Exception
Throws:
Exception

parseISODateFormat

public static String parseISODateFormat(String dateStr)

Drools :: Eclipse :: Guvnor tools 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.