diff options
Diffstat (limited to 'plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/YoctoLocation.java')
-rwxr-xr-x | plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/YoctoLocation.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/YoctoLocation.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/YoctoLocation.java new file mode 100755 index 0000000..40d9345 --- /dev/null +++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/filesystem/YoctoLocation.java | |||
@@ -0,0 +1,44 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2013 Intel Corporation. | ||
3 | * All rights reserved. This program and the accompanying materials | ||
4 | * are made available under the terms of the Eclipse Public License v1.0 | ||
5 | * which accompanies this distribution, and is available at | ||
6 | * http://www.eclipse.org/legal/epl-v10.html | ||
7 | * | ||
8 | * Contributors: | ||
9 | * Ioana Grigoropol(Intel) - initial API and implementation | ||
10 | *******************************************************************************/ | ||
11 | package org.yocto.bc.ui.filesystem; | ||
12 | |||
13 | import java.net.URI; | ||
14 | import java.net.URISyntaxException; | ||
15 | |||
16 | public class YoctoLocation{ | ||
17 | URI oefsURI; | ||
18 | URI originalURI; | ||
19 | |||
20 | public YoctoLocation(){ | ||
21 | try { | ||
22 | oefsURI = new URI(""); | ||
23 | originalURI = new URI(""); | ||
24 | } catch (URISyntaxException e) { | ||
25 | e.printStackTrace(); | ||
26 | } | ||
27 | } | ||
28 | |||
29 | public URI getOEFSURI() { | ||
30 | return oefsURI; | ||
31 | } | ||
32 | |||
33 | public URI getOriginalURI() { | ||
34 | return originalURI; | ||
35 | } | ||
36 | |||
37 | public void setOriginalURI(URI originalURI) { | ||
38 | this.originalURI = originalURI; | ||
39 | } | ||
40 | |||
41 | public void setOEFSURI(URI uri) { | ||
42 | this.oefsURI = uri; | ||
43 | } | ||
44 | } | ||