ubc.cs.JLog.Foundation
Class jPrologFileServices

java.lang.Object
  extended by ubc.cs.JLog.Foundation.jPrologFileServices
All Implemented Interfaces:
iPrologFileServices

public class jPrologFileServices
extends Object
implements iPrologFileServices


Constructor Summary
jPrologFileServices()
           
 
Method Summary
static String convertStringLinebreaks_S(String param)
           
static InputStream getInputStreamFromFilename_S(String name)
           
 InputStream getInputStreamFromFilename(String name)
           
static InputStream getResourceInputStreamFromFilename_S(String name)
           
 InputStream getResourceInputStreamFromFilename(String name)
           
static URL getResourceURLFromFilename_S(String name)
           
 URL getResourceURLFromFilename(String name)
           
static String getTextFromInputStream_S(InputStream in_strm)
           
 String getTextFromInputStream(InputStream in_strm)
           
static URL getURLFromFilename_S(String name)
           
 URL getURLFromFilename(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jPrologFileServices

public jPrologFileServices()
Method Detail

getTextFromInputStream_S

public static String getTextFromInputStream_S(InputStream in_strm)
                                       throws IOException
Throws:
IOException

convertStringLinebreaks_S

public static String convertStringLinebreaks_S(String param)

getURLFromFilename_S

public static URL getURLFromFilename_S(String name)
                                throws MalformedURLException,
                                       IOException
Throws:
MalformedURLException
IOException

getInputStreamFromFilename_S

public static InputStream getInputStreamFromFilename_S(String name)
                                                throws MalformedURLException,
                                                       IOException
Throws:
MalformedURLException
IOException

getResourceURLFromFilename_S

public static URL getResourceURLFromFilename_S(String name)
                                        throws MalformedURLException,
                                               IOException
Throws:
MalformedURLException
IOException

getResourceInputStreamFromFilename_S

public static InputStream getResourceInputStreamFromFilename_S(String name)
                                                        throws MalformedURLException,
                                                               IOException
Throws:
MalformedURLException
IOException

getURLFromFilename

public URL getURLFromFilename(String name)
                       throws MalformedURLException,
                              IOException
Specified by:
getURLFromFilename in interface iPrologFileServices
Throws:
MalformedURLException
IOException

getInputStreamFromFilename

public InputStream getInputStreamFromFilename(String name)
                                       throws MalformedURLException,
                                              IOException
Specified by:
getInputStreamFromFilename in interface iPrologFileServices
Throws:
MalformedURLException
IOException

getResourceURLFromFilename

public URL getResourceURLFromFilename(String name)
                               throws MalformedURLException,
                                      IOException
Specified by:
getResourceURLFromFilename in interface iPrologFileServices
Throws:
MalformedURLException
IOException

getResourceInputStreamFromFilename

public InputStream getResourceInputStreamFromFilename(String name)
                                               throws MalformedURLException,
                                                      IOException
Specified by:
getResourceInputStreamFromFilename in interface iPrologFileServices
Throws:
MalformedURLException
IOException

getTextFromInputStream

public String getTextFromInputStream(InputStream in_strm)
                              throws IOException
Specified by:
getTextFromInputStream in interface iPrologFileServices
Throws:
IOException


Copyright © 2011. All Rights Reserved.