public class ContentFragments extends Fragments
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentFragments.ContentFragmentsXmlReader |
Fragments.Event, Fragments.ListenerdefCreateFragment, defIntersecResolver, defSorter, eventQu, listeners, sorterByBegin, sorterByInstanceID, sorterBySize, syncFireListeners, unionIntersecResolversynceventQueue, lockLevellist| Constructor and Description |
|---|
ContentFragments()
Конструктор
|
ContentFragments(ContentFragments source,
Object osync)
Конструктор
|
ContentFragments(Iterable<Fragment> source)
Конструктор
|
ContentFragments(Iterable<Fragment> source,
Object osync)
Конструктор
|
ContentFragments(Object sync)
Конструктор
|
addListener, addListener, find, findHoles, findHoles, findIntersections, findZeroSize, fireEvent, fireEventQu, getListeners, getSyncObject, isEquals, iterator, listeners, rangePredicate, removeIntersections, removeIntersections, removeListener, removeSameRange, sizeEqualsPredicate, sort, syncRun, toString, visitEachEachWithoutPositionlockRunadd, add0, iterator0, remove, remove, remove0, remove0, removeAll, removeAll0, retainAll, retainAll0add, add0, addAll, addAll, addAll0, addAll0, addEventListListener, addEventListListener, addEventToQueue, bulkInsert, clear, clear0, contains, containsAll, containsEventListListener, fireEventListMessage, fireQueueEvents, fireQueueEvents0, get, getListenersHelper, getWrappedList, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, listIterator0, listIterator0, lockRun, onAdded, onAdding, onChanged, onChanged, onChanging, onChanging, onDeleted, onDeleted, onDeleting, onDeleting, onInserted, onInserted, onInserting, onInserting, onRemoved, onRemoving, onUpdated, onUpdated, onUpdating, onUpdating, removeEventListListener, set, set0, setWrappedList, size, subList, subList0, toArray, toArrayequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic ContentFragments()
public ContentFragments(Object sync)
sync - объект для синхронизацииpublic ContentFragments(Iterable<Fragment> source)
source - образец для копированияpublic ContentFragments(Iterable<Fragment> source, Object osync)
source - образец для копированияosync - объект для синхронизацииpublic ContentFragments(ContentFragments source, Object osync)
source - образец для копированияosync - объект для синхронизацииpublic ContentFragments clone()
public ContentFragments clone(Object sync)
public ContentFragment createFagment(long begin, long end)
createFagment in class Fragmentspublic long getTotalDownloadedSize()
public long getTotalSize()
public List<ContentFragment> getNotDownloaded()
public static ContentFragments createMd5(File sourceFile, int fragmentSize, Func2<Object,Long,Long> progress)
public static ContentFragments createMd5(File sourceFile, int fragmentSize, Func2<Object,Long,Long> progress)
public static ContentFragments createMd5(File sourceFile, int fragmentSize, Func2<Object,Long,Long> progress)
public static ContentFragments createMd5(Path sourceFile, int fragmentSize, Func2<Object,Long,Long> progress)
public static ContentFragments createMd5(InputStream data, int fragmentSize, Func1<Object,Long> progress) throws IOException
IOExceptionpublic void writeXml(FormatXMLWriter writer)
public void writeXml(Result out)
public void writeXml(Writer writer)
public void writeXml(OutputStream writer, Charset cs)
public void writeXml(OutputStream writer)
public void writeXml(File writer)
public void writeXml(Path writer)
public void writeXml(File writer)
public static ContentFragments readXml(Reader xml, Object sync)
public static ContentFragments readXml(Reader xml)
public static ContentFragments readXml(String xml, Object sync)
public static ContentFragments readXml(String xml)
public static ContentFragments readXml(XMLEventReader xml, Object sync)
public static ContentFragments readXml(XMLEventReader xml)
public static ContentFragments readXml(XMLStreamReader xml, Object sync)
public static ContentFragments readXml(XMLStreamReader xml)
public static ContentFragments readXml(Source xml, Object sync)
public static ContentFragments readXml(Source xml)
public static ContentFragments readXml(File xml, Charset cs, Object sync)
public static ContentFragments readXml(File xml, Object sync)
public static ContentFragments readXml(File xml)
public static ContentFragments readXml(Path xml, Charset cs, Object sync)
public static ContentFragments readXml(Path xml, Object sync)
public static ContentFragments readXml(Path xml)
public static ContentFragments readXml(File xml, Charset cs, Object sync)
public static ContentFragments readXml(File xml, Object sync)
public static ContentFragments readXml(File xml)
Copyright © 2019. All rights reserved.