Package org.apache.niolex.notify

Examples of org.apache.niolex.notify.ByteArray


     * Test method for {@link org.apache.niolex.notify.Notify#getProperty(org.apache.niolex.notify.ByteArray)}.
     */
    @Test
    public void testGetPropertyByteArray() {
        Notify notify = App.instance().getNotify("/notify/test/tmp");
        byte[] v = notify.getProperty(new ByteArray("love".getBytes()));
        assertEquals(new String(v), "lex");
    }
View Full Code Here

TOP

Related Classes of org.apache.niolex.notify.ByteArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.