package com.byoutline.mockserver;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;

/**
 * Wraps platform specific bits.
 * For android implementation will look something like this:
 * <code class="java">
 * 
 * </code>
 * @author Sebastian Kacprzak <nait at naitbit.com>
 */
public interface ConfigReader {

    /**
     * Provide input stream for file that contains response for single REST
     * method.
     */
    InputStream getResponseConfigFromFileAsStream(String fileName) throws IOException;

    /**
     * Provide list of file names from folder where file responses(fe: images)
     * are located.
     */
    String[] getResponseFolderFileNames();

    /**
     * Provide a file with given name from folder with file responses(it
     * probably won't be text file).
     */
    public File getResponseFile(String fileName);
}

@@ -142,19 +142,16 @@
 ic bits.
-%0A *
  For and
@@ -174,76 +174,119 @@
 ion 
-will look something like this:%0A * %3Ccode class=%22java%22%3E%0A * %0A * %3C/code%3E
+take a look at%0A * AndroidMockServer implementation%0A * %7B@link https://github.com/byoutline/AndroidMockServer%7D%0A *
 %0A * 

replace empty block of JavaDoc with link to default implementation.