comparison src/org/tmatesoft/hg/internal/Filter.java @ 112:d488c7638b87

Prototype Filter support with keyword filter as a playground
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 01 Feb 2011 00:21:08 +0100
parents
children 67ae317408c9
comparison
equal deleted inserted replaced
111:32e794c599d7 112:d488c7638b87
1 /*
2 * Copyright (c) 2011 TMate Software Ltd
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * For information on how to redistribute this software under
14 * the terms of a license other than GNU General Public License
15 * contact TMate Software at support@svnkit.com
16 */
17 package org.tmatesoft.hg.internal;
18
19 import java.nio.ByteBuffer;
20
21 import org.tmatesoft.hg.core.Path;
22 import org.tmatesoft.hg.repo.HgRepository;
23
24 /**
25 *
26 * @author Artem Tikhomirov
27 * @author TMate Software Ltd.
28 */
29 public interface Filter {
30
31 ByteBuffer filter(ByteBuffer src);
32
33 interface Factory {
34 Filter create(HgRepository hgRepo, Path path);
35 }
36 }