Last change
on this file since 7186 was 5799, checked in by cs025, 21 years ago |
Adding GS3build
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
897 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.expander;
|
---|
2 |
|
---|
3 | import java.io.File;
|
---|
4 | import java.net.URL;
|
---|
5 |
|
---|
6 | import org.greenstone.gsdl3.gs3build.BuildManager;
|
---|
7 |
|
---|
8 | public interface ExpanderInterface
|
---|
9 | {
|
---|
10 | /**
|
---|
11 | * Record the build manager to use for this expander - this is used
|
---|
12 | * to pass back any new directories into which expanded files are placed.
|
---|
13 | */
|
---|
14 | public void configure(BuildManager manager);
|
---|
15 |
|
---|
16 | /**
|
---|
17 | * Attempt to expand a file. The returned result is <code>true</code> if the
|
---|
18 | * file was actually expanded.
|
---|
19 | *
|
---|
20 | * @param <code>URL</code> the name of the file, or its URL
|
---|
21 | * @param <code>File</code> the directory to expand files into - the expander
|
---|
22 | * should create its own sub-directory to ensure that no later conflicts
|
---|
23 | * emerge.
|
---|
24 | *
|
---|
25 | * @return <code>boolean</code> whether the file was expanded.
|
---|
26 | */
|
---|
27 | public boolean expandFile(URL fileReference, File expansionDirectory);
|
---|
28 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.