]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.layer0/scratch/TestRVI.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.layer0 / scratch / TestRVI.java
1 import java.util.Scanner;\r
2 \r
3 /*******************************************************************************\r
4  * Copyright (c) 2007, 2011 Association for Decentralized Information Management in\r
5  * Industry THTH ry.\r
6  * All rights reserved. This program and the accompanying materials\r
7  * are made available under the terms of the Eclipse Public License v1.0\r
8  * which accompanies this distribution, and is available at\r
9  * http://www.eclipse.org/legal/epl-v10.html\r
10  *\r
11  * Contributors:\r
12  *     VTT Technical Research Centre of Finland - initial API and implementation\r
13  *******************************************************************************/\r
14 \r
15 public class TestRVI {\r
16         \r
17         \r
18         public static void main(String[] args) {\r
19                 String str = "r34534545/r45345/HELLO#VAR";\r
20                 Scanner s = new Scanner(str);\r
21                 s.useDelimiter("[/#]");\r
22                 while (s.hasNext()) {\r
23                         System.out.println(s.next());\r
24                 }               \r
25         }\r
26 }\r