Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nilhcem/markdown2html
/ functions
Functions
29 in github.com/Nilhcem/markdown2html
⨍
Functions
29
◇
Types & classes
9
↓ 3 callers
Method
getMessage
Displays the program usage.
src/main/java/com/nilhcem/md2html/console/DisplayUsageException.java:15
↓ 2 callers
Method
get
Returns the JMenuBar object. @return the JMenuBar object.
src/main/java/com/nilhcem/md2html/gui/MenuBar.java:33
↓ 2 callers
Method
get
Returns the JPanel object. @return the JPanel object.
src/main/java/com/nilhcem/md2html/gui/MainPanel.java:39
↓ 2 callers
Method
getFileContent
Returns the content of the file in parameter (should be an HTML file), or an empty String if the file is {@code null}. <p> This method is useful to in
src/main/java/com/nilhcem/md2html/console/ConsoleMode.java:60
↓ 2 callers
Method
getMarkdownFile
Returns the name of the markdown file (the file in input). @return the name of the markdown file (the file in input).
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:82
↓ 2 callers
Method
getOutputFile
Returns the name of the HTML file (the file in output). @return the name of the HTML file (the file in output).
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:91
↓ 1 callers
Method
checkArgs
Checks arguments and determine the running mode (command line or GUI). <p> <ul> <li>If there is no graphical environment, the program will run in co
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:34
↓ 1 callers
Method
createFileMenu
Creates the file menu. <p> The file menu contains an "Exit" item, to quit the application. </p> @return the newly created file menu.
src/main/java/com/nilhcem/md2html/gui/MenuBar.java:45
↓ 1 callers
Method
createHelpMenu
Creates the help menu. <p> The help menu contains an "About" item, to display some software information. </p> @return the newly created help menu.
src/main/java/com/nilhcem/md2html/gui/MenuBar.java:70
↓ 1 callers
Method
getFooterFile
Returns the name of the footer file if any, or {@code null} if none was specified. @return the name of the footer file if any, or {@code null} if non
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:118
↓ 1 callers
Method
getHeaderFile
Returns the name of the header file if any, or {@code null} if none was specified. @return the name of the header file if any, or {@code null} if non
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:109
↓ 1 callers
Method
isConsoleMode
Returns {@code true} if the program should be launched in console mode (command line), or {@code false} for a GUI mode. @return {@code true} if the p
src/main/java/com/nilhcem/md2html/console/ArgsParser.java:100
↓ 1 callers
Method
process
Converts the file in HTML depending on the options sent in parameter. @param args an ArgsParser object containing the program's options. @throws File
src/main/java/com/nilhcem/md2html/console/ConsoleMode.java:24
Method
App
()
src/main/java/com/nilhcem/md2html/App.java:18
Method
InputPane
Creates the text area and add a key listener to call observer every time a key is released.
src/main/java/com/nilhcem/md2html/gui/InputPane.java:22
Method
MainFrame
Creates the main window and makes it visible.
src/main/java/com/nilhcem/md2html/gui/MainFrame.java:20
Method
MainPanel
Creates the main panel, adding observer to the input and building the GUI.
src/main/java/com/nilhcem/md2html/gui/MainPanel.java:25
Method
MenuBar
Creates the menu bar and the different menus (file / edit / help).
src/main/java/com/nilhcem/md2html/gui/MenuBar.java:23
Method
PreviewPane
Creates the HTML JLabel and sets its vertical alignment as in the top.
src/main/java/com/nilhcem/md2html/gui/PreviewPane.java:23
Method
actionPerformed
(ActionEvent e)
src/main/java/com/nilhcem/md2html/gui/MenuBar.java:52
Method
get
Returns the JScrollPane object. @return the JScrollPane object.
src/main/java/com/nilhcem/md2html/gui/InputPane.java:44
Method
get
Returns the JScrollPane object. @return the JScrollPane object.
src/main/java/com/nilhcem/md2html/gui/PreviewPane.java:33
Method
keyPressed
(KeyEvent e)
src/main/java/com/nilhcem/md2html/gui/InputPane.java:33
Method
keyReleased
(KeyEvent e)
src/main/java/com/nilhcem/md2html/gui/InputPane.java:28
Method
keyTyped
(KeyEvent e)
src/main/java/com/nilhcem/md2html/gui/InputPane.java:25
Method
main
Launches the program in command line or using a GUI. <p> If the program is launched in GUI mode, sets some properties for a better look and feel integ
src/main/java/com/nilhcem/md2html/App.java:28
Method
run
()
src/main/java/com/nilhcem/md2html/App.java:37
Method
run
()
src/main/java/com/nilhcem/md2html/gui/PreviewPane.java:50
Method
update
Updates the content of the label by converting the input data to html and setting them to the label. <p> This method will be called by an {@code Input
src/main/java/com/nilhcem/md2html/gui/PreviewPane.java:46