Debian Codegraph @

biosig4c++/java/Biosig.java

raw symbols SCIP
1 /*
2 Copyright (C) 2018,2019 Alois Schloegl <[email protected]>
3 This file is part of the "BioSig for C/C++" repository
4 (biosig4c++) at http://biosig.sf.net/
5
6
7 BioSig is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 3
10 of the License, or (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20
21 https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html
22 */
23
24 //package Biosig;
25 public class Biosig {
26 static {
27 System.loadLibrary("Biosig");
28 }
29
30 private native void version();
31 private native String hdr2ascii(String filename);
32 private native void hdr2json(String filename);
33
34 private native void sopen(String filename);
35 private native void sread(String filename);
36 private native void sclose(String filename);
37
38 public static void main(String[] args) {
39 System.out.println(new Biosig().hdr2ascii(args[0]));
40 }
41 }
42
43