Datasets:
ArXiv:
License:
Download data/val/meghbhalerao/cnnormaliztion/tool/Logger.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 689 Bytes
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/val/meghbhalerao/cnnormaliztion/tool/Logger.java
- Command line
-
hf download hf://datasets/RepoFusion/Stack-Repo/data/val/meghbhalerao/cnnormaliztion/tool/Logger.java
-
curl -L -o Logger.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/val/meghbhalerao/cnnormaliztion/tool/Logger.java
689 Bytes
| /* | |
| * To change this template, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package tool; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import tool.sieves.Sieve; | |
| import tool.util.Concept; | |
| import tool.util.Terminology; | |
| /** | |
| * | |
| * @author | |
| */ | |
| public class Logger { | |
| private static FileOutputStream log; | |
| public static void setLogFile(FileOutputStream logFile) { | |
| log = logFile; | |
| } | |
| public static void writeLogFile(String string) throws IOException { | |
| log.write((string+"\n").getBytes()); | |
| } | |
| } | |