English 中文(简体)
Java印版替代lu,为用户指明面罩提供一种方式
原标题:Alternative plugin to Javascript for Java to provide a way for user to specify a mask
  • 时间:2012-04-13 14:27:59
  •  标签:
  • java

I m 寻找可在 Java RV上操作的描述性语言,该语言将作为供用户使用的简单描述语言,用于说明如何用音乐元数据构建档案名称。 请参看先前的相关地雷。 在推荐瓦查稿时,将简单的措辞带入java,我使用这一语言,并努力:

i.e 一、如果我有包含以下元数据的档案:

albumartist=U2
album=Boy
trackno=02
title=Twilight

并使用这一 j印:

(albumartist.length>0  ? albumartist + -  :(artist.length>0 ? artist +  -  :    )) + (album.length>0 ? album +  -  :  ) + (trackno.length>0 ? trackno +  -  :  )  + title

it will output

U2-Boy-02-Twilight

这是巨大的。

但问题是,平均用户的Javascript syntax是too硬

任何人都可以建议另一种描述性语言,我可以想象,这种语言使我能够发挥mail的作用,而是一种更简单的yn。 例如,如果我能使用这种辛加税,那将是ice。

if(albumartist,albumartist-)else if(artist,artist-)(album,album-)(trackno,trackno)title

and get the same result

问题回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签