From e29065397c364728264e97982d7cf9b21f8ad00c Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 27 Jan 2002 09:37:06 +0000 Subject: [PATCH] Add a basic class for fileset git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270935 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/myrmidon/framework/FileSet.java | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 proposal/myrmidon/src/java/org/apache/myrmidon/framework/FileSet.java diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/FileSet.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/FileSet.java new file mode 100644 index 000000000..18e5fa570 --- /dev/null +++ b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/FileSet.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) The Apache Software Foundation. All rights reserved. + * + * This software is published under the terms of the Apache Software License + * version 1.1, a copy of which has been included with this distribution in + * the LICENSE.txt file. + */ +package org.apache.myrmidon.framework; + +import java.io.File; + +/** + * A FileSet represents a set of files selected by patterns with a + * specified root. + * + * @author Peter Donald + * @version $Revision$ $Date$ + */ +public class FileSet + extends AbstractFileSet +{ + private File m_dir; + + /** + * Specify the base directory at which the file set is rooted. + */ + public final void setDir( File dir ) + { + m_dir = dir; + } + + public final File getDir() + { + return m_dir; + } +}