blob: d94a06f6f0f7fd171d0af344080aefefa860d4da [file] [log] [blame]
Stuart McCulloch39cc9ac2012-07-16 13:43:38 +00001package aQute.bnd.properties;
Stuart McCullochd4826102012-06-26 16:34:24 +00002
3public class Region implements IRegion {
4
Stuart McCullochd4826102012-06-26 16:34:24 +00005 private final int offset;
Stuart McCulloch7adbc952012-07-12 22:12:58 +00006 private final int length;
Stuart McCullochd4826102012-06-26 16:34:24 +00007
Stuart McCulloch7adbc952012-07-12 22:12:58 +00008 public Region(int offset, int length) {
Stuart McCullochd4826102012-06-26 16:34:24 +00009 this.offset = offset;
Stuart McCulloch7adbc952012-07-12 22:12:58 +000010 this.length = length;
11 }
12
13 public int getOffset() {
14 return offset;
15
Stuart McCullochd4826102012-06-26 16:34:24 +000016 }
17
18 public int getLength() {
19 return length;
20 }
21
Stuart McCullochd4826102012-06-26 16:34:24 +000022}