From 4187f8373af33f2a3f6741d3c0cd1a93c0ef611e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=92=90?= Date: Tue, 25 Jun 2024 18:23:14 +0800 Subject: [PATCH] add JVMInfo class and init function to get_jvm_info.py --- category/get_jvm_info.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/category/get_jvm_info.py b/category/get_jvm_info.py index ab13cdc..99896e8 100644 --- a/category/get_jvm_info.py +++ b/category/get_jvm_info.py @@ -1,3 +1,12 @@ #!/usr/bin/env python # -*- coding: UTF-8 -*- -# cython:language_level=3 \ No newline at end of file +# cython:language_level=3 + +from common.file import FileOperation + +# jvm class +class JVMInfo: + def __init__(self, t_fileName): + # output file + self.__default_file_name = t_fileName + FileOperation.remove_txt_file(self.__default_file_name) \ No newline at end of file -- Gitee