improve repository browser api

This commit is contained in:
Sebastian Sdorra
2011-06-18 16:41:23 +02:00
parent 7d758aed6c
commit 5adea3f28b
5 changed files with 149 additions and 75 deletions

View File

@@ -36,7 +36,7 @@ package sonia.scm.repository;
//~--- JDK imports ------------------------------------------------------------
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
*
@@ -52,13 +52,13 @@ public interface RepositoryBrowser
*
* @param revision
* @param path
* @param output
*
* @return
*
* @throws IOException
* @throws RepositoryException
*/
public InputStream getContent(String revision, String path)
public void getContent(String revision, String path, OutputStream output)
throws IOException, RepositoryException;;
/**