Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jci.readers
Class MemoryResourceReader

    java.lang.Object
      org.apache.commons.jci.readers.MemoryResourceReader

All Implemented Interfaces:
  ResourceReader

    public class MemoryResourceReader

extends Object
implements ResourceReader

A memory based reader to compile from memory

Author:
  tcurdt

Constructor Summary
`MemoryResourceReader()`

Method Summary
`void` | `add(String pResourceName, byte[] pContent)`
`byte[]` | `getBytes(String pResourceName)`
`boolean` | `isAvailable(String pResourceName)`
`String[]` | `list()` Deprecated.
`void` | `remove(String pResourceName)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MemoryResourceReader

    public MemoryResourceReader()

Method Detail

### isAvailable

    public boolean isAvailable(String pResourceName)

  Specified by:
    `isAvailable` in interface `ResourceReader`

### add

    public void add(String pResourceName,
                    byte[] pContent)

### remove

    public void remove(String pResourceName)

### getBytes

    public byte[] getBytes(String pResourceName)

  Specified by:
    `getBytes` in interface `ResourceReader`

### list

    @Deprecated
    public String[] list()

  Deprecated.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.