org.kite9.framework.common
Class RepositoryHelp

java.lang.Object
  extended by org.kite9.framework.common.RepositoryHelp

public class RepositoryHelp
extends Object


Constructor Summary
RepositoryHelp()
           
 
Method Summary
static File prepareFileName(String id, String filename, String baseDir, boolean createDirs)
           
static void streamCopy(InputStream zis, OutputStream fos, boolean closeOs)
           
static void streamCopy(Reader zis, Writer fos, boolean closeOs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryHelp

public RepositoryHelp()
Method Detail

prepareFileName

public static File prepareFileName(String id,
                                   String filename,
                                   String baseDir,
                                   boolean createDirs)

streamCopy

public static void streamCopy(InputStream zis,
                              OutputStream fos,
                              boolean closeOs)
                       throws IOException
Throws:
IOException

streamCopy

public static void streamCopy(Reader zis,
                              Writer fos,
                              boolean closeOs)
                       throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.