X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fmodel%2FMatchedTemplate.java;fp=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fmodel%2FMatchedTemplate.java;h=607d6c7757186659ea8290d2f603a963f621986a;hb=346b3c8e74a12b1822239481f807479fa81fc706;hp=0000000000000000000000000000000000000000;hpb=086190fcb88b75bf3df3eeeb6357f15ed1127f4f;p=mobile-ledger.git diff --git a/app/src/main/java/net/ktnx/mobileledger/model/MatchedTemplate.java b/app/src/main/java/net/ktnx/mobileledger/model/MatchedTemplate.java new file mode 100644 index 00000000..607d6c77 --- /dev/null +++ b/app/src/main/java/net/ktnx/mobileledger/model/MatchedTemplate.java @@ -0,0 +1,31 @@ +/* + * Copyright © 2021 Damyan Ivanov. + * This file is part of MoLe. + * MoLe is free software: you can distribute it and/or modify it + * under the term of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your opinion), any later version. + * + * MoLe is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License terms for details. + * + * You should have received a copy of the GNU General Public License + * along with MoLe. If not, see . + */ + +package net.ktnx.mobileledger.model; + +import net.ktnx.mobileledger.db.TemplateHeader; + +import java.util.regex.MatchResult; + +public class MatchedTemplate { + public TemplateHeader templateHead; + public MatchResult matchResult; + public MatchedTemplate(TemplateHeader templateHead, MatchResult matchResult) { + this.templateHead = templateHead; + this.matchResult = matchResult; + } +}