10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.javafx.tools.resource;
27
28 import java.io.File;
29
30 public class PackagerResource {
31 private static final ResourceFilter ACCEPT_ALL_FILTER =
32 new ResourceFilter() {
33 @Override
34 public boolean descent(final File file,
35 final String relativePath) {
36 return true;
37 }
38
39 @Override
40 public boolean accept(final File file,
41 final String relativePath) {
42 return true;
43 }
44 };
45
46 private final File baseDir;
47 private final File file;
48 private final String relativePath;
49
|
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.javafx.tools.resource;
27
28 import java.io.File;
29
30 @Deprecated
31 public class PackagerResource {
32 private static final ResourceFilter ACCEPT_ALL_FILTER =
33 new ResourceFilter() {
34 @Override
35 public boolean descent(final File file,
36 final String relativePath) {
37 return true;
38 }
39
40 @Override
41 public boolean accept(final File file,
42 final String relativePath) {
43 return true;
44 }
45 };
46
47 private final File baseDir;
48 private final File file;
49 private final String relativePath;
50
|