1 package com.atlassian.plugin.spring.scanner.core.vfs;
2
3 import java.io.IOException;
4 import java.util.Collection;
5 import java.util.Properties;
6
7 /**
8 * A virtual file interface to abstract the differences between Javac Filer disk access and bog standard File access.
9 */
10 @SuppressWarnings("UnusedDeclaration")
11 public interface VirtualFile {
12
13 Collection<String> readLines() throws IOException;
14
15 void writeLines(Iterable<String> lines) throws IOException;
16
17 void writeProperties(Properties properties, String comment) throws IOException;
18 }