public class ConvertUtil extends Object
Constructor and Description |
---|
ConvertUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
htmlToHexoMd(String htmlPath,
String mdPath,
String charset)
change html to md in
Hexo format |
static void |
htmlToJekyllMd(String htmlPath,
String mdPath,
String charset)
change html to md in
Jekyll format |
public static void htmlToJekyllMd(String htmlPath, String mdPath, String charset)
Jekyll
formathtmlPath
- (Folder/File) html path filemdPath
- (Folder/File) markdown path filecharset
- you can assign as FilesUtil.DEFAULT_ENCODING
public static void htmlToHexoMd(String htmlPath, String mdPath, String charset)
Hexo
formathtmlPath
- (Folder/File) html path filemdPath
- (Folder/File) markdown path filecharset
- you can assign as FilesUtil.DEFAULT_ENCODING
Copyright © 2017. All rights reserved.