PageRenderTime 33ms CodeModel.GetById 26ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/db-migrate/src/main/java/com/googlecode/hdbc/dbmigrate/io/IFileProvider.java

http://hdbc.googlecode.com/
Java | 21 lines | 16 code | 5 blank | 0 comment | 0 complexity | f4daf1e26c2aa2835670bb43a4948862 MD5 | raw file
 1package com.googlecode.hdbc.dbmigrate.io;
 2
 3import java.io.IOException;
 4import java.util.List;
 5import java.util.Properties;
 6
 7public interface IFileProvider {
 8
 9    String[] migrationFileList();
10    String templateContent(String templateType) throws IOException;
11    void writeDoFile(String fileName, String fileContent) throws IOException;
12    void writeUndoFile(String fileName, String fileContent) throws IOException;
13    void writeMasterMigrationDoScript(List<String> files) throws IOException;
14    void writeMasterMigrationUnDoScript(List<String> files) throws IOException;
15
16    void initializeDoDirectory(String schema) throws IOException;
17    void initializeUnDoDirectory(String schema) throws IOException;
18    void initializeTemplatesDirectory(String schema) throws IOException;
19    
20    Properties readProperties() throws IOException;
21}