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.jboss.portal.cms.util
Class FileUtil

    java.lang.Object
      org.jboss.portal.cms.util.FileUtil

    public class FileUtil

extends java.lang.Object

Helper class for file functions.

Author:
  Roy Russo

Constructor Summary
`FileUtil()`

Method Summary
`static java.lang.String` | `cleanDoubleSlashes(java.lang.String sPath)`
`static byte[]` | `getBytes(java.io.InputStream inputStream)` Generic bytestream util that returns a byte array from an InputStream.

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

Constructor Detail

### FileUtil

    public FileUtil()

Method Detail

### getBytes

    public static byte[] getBytes(java.io.InputStream inputStream)

  Generic bytestream util that returns a byte array from an InputStream.

  Parameters:
    `inputStream` -
  Returns:
    byte array from stream

### cleanDoubleSlashes

    public static java.lang.String cleanDoubleSlashes(java.lang.String sPath)

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 © 2008. All Rights Reserved.