|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cakupan.xslt.util.CoverageIOUtil
public class CoverageIOUtil
util class dealing with IO activities A part of the source is distributed with the Apache 2.0 License http://www.apache.org/licenses/LICENSE-2.0
| Constructor Summary | |
|---|---|
CoverageIOUtil()
|
|
| Method Summary | |
|---|---|
static int |
copy(java.io.InputStream input,
java.io.OutputStream output)
|
static void |
copy(java.io.InputStream input,
java.io.Writer output)
|
static int |
copy(java.io.Reader input,
java.io.Writer output)
|
static long |
copyLarge(java.io.InputStream input,
java.io.OutputStream output)
|
static java.lang.String |
getDestDir()
Return the directory path where the coverage file has been written |
static java.lang.String |
getXsltCoverageDir()
Checks whether system variable xslt.coverage.dir is set to true in order to get the dir of the coverage xml |
static void |
saveCSSFiles(java.lang.String content,
java.net.URI remoteFile)
save the css files |
static void |
setDestDir(java.io.File destDir)
|
static java.lang.String |
toString(java.io.InputStream input)
|
static void |
write(java.lang.String content,
java.io.OutputStream stream)
write date to a outputstream |
static void |
write(java.lang.String content,
java.net.URI remoteFile)
write files to a remote destination |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoverageIOUtil()
| Method Detail |
|---|
public static java.lang.String getDestDir()
throws XSLTCoverageException
XSLTCoverageExceptionpublic static void setDestDir(java.io.File destDir)
destDir - the destDir to set
public static void saveCSSFiles(java.lang.String content,
java.net.URI remoteFile)
content - remoteFile -
public static java.lang.String getXsltCoverageDir()
throws XSLTCoverageException
XSLTCoverageException
public static void write(java.lang.String content,
java.net.URI remoteFile)
throws java.io.IOException
content - remoteFile -
java.io.IOException
public static void write(java.lang.String content,
java.io.OutputStream stream)
throws java.io.IOException
content - stream - outputstream
java.io.IOException
public static int copy(java.io.InputStream input,
java.io.OutputStream output)
throws java.io.IOException
java.io.IOException
public static long copyLarge(java.io.InputStream input,
java.io.OutputStream output)
throws java.io.IOException
java.io.IOException
public static java.lang.String toString(java.io.InputStream input)
throws java.io.IOException
java.io.IOException
public static void copy(java.io.InputStream input,
java.io.Writer output)
throws java.io.IOException
java.io.IOException
public static int copy(java.io.Reader input,
java.io.Writer output)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||