Added support of viewing the compiled Java files (*.class).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-08-27 11:09:30 +03:00
parent aa5ffa2b87
commit b03da1c3b3
2 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,9 @@ do_view_action() {
torrent)
ctorrent -x "${MC_EXT_FILENAME}" 2>/dev/null
;;
javaclass)
jad -p "${MC_EXT_FILENAME}" 2>/dev/null
;;
*)
;;
esac

View File

@ -592,6 +592,10 @@ regex/i/\.djvu?$
### Miscellaneous ###
# Compiled Java classes
shell/.class
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
# Makefile
regex/[Mm]akefile$
Open=make -f %f %{Enter parameters}